mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 22:39:25 +02:00
22 lines
261 B
ObjectPascal
22 lines
261 B
ObjectPascal
{ %NORUN }
|
|
|
|
program tgeneric117;
|
|
|
|
{$mode objfpc}
|
|
|
|
type
|
|
generic TTest<T> = class
|
|
public type
|
|
TT = ^specialize TTest<T>;
|
|
end;
|
|
|
|
generic TTest2<T> = class
|
|
public type
|
|
TT2 = specialize TTest2<T>;
|
|
TT = specialize TTest<TT2>;
|
|
end;
|
|
|
|
begin
|
|
|
|
end.
|