fpc/tests/webtbs/tw22593.pp
Jonas Maebe 4d31fbc31d * also allow conversion of niln to forward-defined pointerdef
(mantis #22593)

git-svn-id: trunk@22026 -
2012-08-07 11:23:00 +00:00

31 lines
359 B
ObjectPascal

{ %norun }
{$ifdef fpc}
{$mode objfpc}
{$endif}
type
tc = class
end;
tcc = class of tc;
tc3 = class;
tprec = ^trec;
tc2 = class
constructor create(c: tcc = nil; c3: tc3 = nil; r: tprec = nil);
end;
trec = record
end;
tc3 = class
end;
constructor tc2.create(c: tcc = nil; c3: tc3 = nil; r: tprec = nil);
begin
end;
begin
end.