summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/tbs/tb0213.pp
blob: c80eb791ddc95b44092a3608e1d38d7a420fa22d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ Old file: tbs0252.pp }
{ typecasting not possible within typed const          OK 0.99.13 (PFV) }

type
  wnd=procedure;
  r=record
    w : wnd;
  end;

procedure p;
begin
end;

const
  r1:r=(
   w : wnd(@p);
  );

begin
end.