fpc/tests/test/tgenfwd5.pp

19 lines
177 B
ObjectPascal

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