summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/test/tmaclocalprocparam4d.pp
blob: 80732444c5df008186b42618930e9aed5804a6c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ %fail }

{$mode tp}
{$modeswitch nestedprocvars}

type
  tprocedure = procedure;

procedure test(procedure pp);

  procedure nested;
    begin
    end;

begin
  { this should be a plain pointer }
  test(@nested);
end;

begin
end.