fpc/tests/test/tmaclocalprocparam4c.pp
2013-10-19 22:42:35 +00:00

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.