mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 16:47:53 +02:00
21 lines
227 B
ObjectPascal
21 lines
227 B
ObjectPascal
{ 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.
|