summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/tbs/tb0015.pp
blob: 26f6c149d69198f20a1dbe663f7051141afe0a57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ Old file: tbs0018.pp }
{  tests for the possibility to declare all types using pointers "forward" : type p = ^x; x=byte;     OK 0.9.3 }

type
   p = ^x;
   x = byte;

var
   b : p;

begin
   new(b);
   b^:=12;
end.