fpc/tests/test/tgenfwd6.pp

16 lines
148 B
ObjectPascal

{ %FAIL }
program tgenfwd6;
{$mode objfpc}
type
generic TTest<T: TObject> = class;
generic TTest<T: IInterface> = class
end;
begin
end.