fpc/tests/tbs/tb0624.pp
2016-12-06 21:37:22 +00:00

28 lines
337 B
ObjectPascal

{ %NORUN }
program tb0624;
{$mode delphi}
type
TTest<T> = record
public type
PSelf = ^TTest<T>;
public
Next: PSelf;
end;
TTest2<T> = record
Next: ^TTest<T>;
end;
TTestLongInt = TTest<LongInt>;
TTestString = TTest<String>;
TTest2LongInt = TTest2<LongInt>;
TTest2String = TTest2<String>;
begin
end.