mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 01:47:59 +02:00
22 lines
212 B
ObjectPascal
22 lines
212 B
ObjectPascal
{ %NORUN }
|
|
|
|
program tgeneric117;
|
|
|
|
{$mode delphi}
|
|
|
|
type
|
|
TTest<T> = class
|
|
public type
|
|
TT = ^TTest<T>;
|
|
end;
|
|
|
|
TTest2<T> = class
|
|
public type
|
|
TT2 = TTest2<T>;
|
|
TT = TTest<TT2>;
|
|
end;
|
|
|
|
begin
|
|
|
|
end.
|