fix #2172
This commit is contained in:
parent
8941485088
commit
aee1a5e176
14
TestSuite/overl_lam_exit.pas
Normal file
14
TestSuite/overl_lam_exit.pas
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
// #2172
|
||||
procedure p1(p: ()->());
|
||||
begin
|
||||
Assert(1=1)
|
||||
end;
|
||||
|
||||
procedure p1(p: byte->());
|
||||
begin
|
||||
Assert(1=2)
|
||||
end;
|
||||
|
||||
begin
|
||||
p1(()-> exit());
|
||||
end.
|
||||
Loading…
Reference in a new issue