fpc/tests/test/tgeneric105.pp
2018-09-02 16:20:25 +00:00

23 lines
251 B
ObjectPascal

{ %FAIL }
{ the type parameters of the implementation need to match those in the interface }
unit tgeneric105;
{$mode delphi}
interface
type
TTest<T> = class
procedure Test;
end;
implementation
procedure TTest<S>.Test;
begin
end;
end.