fpc/tests/webtbs/tw17181.pp

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.