mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 08:38:14 +02:00
22 lines
235 B
ObjectPascal
22 lines
235 B
ObjectPascal
{ %norun }
|
|
|
|
{$mode tp}
|
|
{$modeswitch nestedprocvars}
|
|
|
|
type
|
|
tprocedure = procedure;
|
|
|
|
procedure test(p: codepointer);
|
|
|
|
procedure nested;
|
|
begin
|
|
end;
|
|
|
|
begin
|
|
{ this should be a plain pointer }
|
|
test(@nested);
|
|
end;
|
|
|
|
begin
|
|
end.
|