mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 19:49:31 +02:00
17 lines
204 B
ObjectPascal
17 lines
204 B
ObjectPascal
{ %fail }
|
|
program Project1;
|
|
type
|
|
generic TFoo<_A: TObject> = class
|
|
type x = type _A;
|
|
type b = class(x)
|
|
end;
|
|
end;
|
|
|
|
TBar = class sealed
|
|
end;
|
|
|
|
TAbc = specialize TFoo<TBar>;
|
|
|
|
begin
|
|
end.
|