mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-20 14:29:21 +02:00
* exit(procvar) in tp mode
This commit is contained in:
parent
b9a1c74a71
commit
0be4fe2a2b
14
tests/webtbs/tw2277.pp
Normal file
14
tests/webtbs/tw2277.pp
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{$mode tp}
|
||||||
|
|
||||||
|
type
|
||||||
|
tproc=procedure;
|
||||||
|
var
|
||||||
|
p : tproc;
|
||||||
|
|
||||||
|
function f:tproc;
|
||||||
|
begin
|
||||||
|
exit(p);
|
||||||
|
end;
|
||||||
|
|
||||||
|
begin
|
||||||
|
end.
|
Loading…
Reference in New Issue
Block a user