summaryrefslogtreecommitdiff
path: root/tests/tbs/tb0255.pp
blob: 09cdacd9975409df317c0a8684ea7ee19ff4aab8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ 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.