fpc/tests/test/tgenfunc13.pp
2015-11-21 16:53:11 +00:00

22 lines
236 B
ObjectPascal

{ %FAIL }
{ constraints must not be repeated in the definition }
program tgenfunc13;
{$mode objfpc}
type
TTest = class
generic procedure Test<T: class>;
end;
generic procedure TTest.Test<T: class>;
begin
end;
begin
end.