mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 15:49:04 +02:00
23 lines
251 B
ObjectPascal
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.
|
|
|