mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 03:08:20 +02:00
22 lines
238 B
ObjectPascal
22 lines
238 B
ObjectPascal
{ Old file: tbs0295.pp }
|
|
{ forward type definition is resolved wrong OK 0.99.13 (PFV) }
|
|
|
|
type
|
|
t1=longint;
|
|
|
|
procedure p;
|
|
type
|
|
pt1=^t1;
|
|
t1=string;
|
|
var
|
|
t : t1;
|
|
p : pt1;
|
|
begin
|
|
p:=@t;
|
|
p^:='test';
|
|
end;
|
|
|
|
begin
|
|
p;
|
|
end.
|