mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 17:49:33 +02:00
15 lines
281 B
ObjectPascal
15 lines
281 B
ObjectPascal
{ %fail }
|
|
{$MODE OBJFPC}
|
|
program Test;
|
|
|
|
type
|
|
generic IList<IItem, IItemList> = interface end;
|
|
IPointerList = specialize IList<Pointer, IPointerList>;
|
|
|
|
type
|
|
generic TList<TItem, TItemList> = class end;
|
|
TPointerList = specialize TList<Pointer, TPointerList>;
|
|
|
|
begin
|
|
end.
|