tgeneric105.pp 251 B

12345678910111213141516171819202122
  1. { %FAIL }
  2. { the type parameters of the implementation need to match those in the interface }
  3. unit tgeneric105;
  4. {$mode delphi}
  5. interface
  6. type
  7. TTest<T> = class
  8. procedure Test;
  9. end;
  10. implementation
  11. procedure TTest<S>.Test;
  12. begin
  13. end;
  14. end.