mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-26 20:03:49 +02:00
21 lines
234 B
ObjectPascal
21 lines
234 B
ObjectPascal
{ %FAIL }
|
|
|
|
{ the type parameters of the implementation need to match those in the interface }
|
|
unit tgenfunc17;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
interface
|
|
|
|
generic procedure Test<T>;
|
|
|
|
implementation
|
|
|
|
generic procedure Test<S>;
|
|
begin
|
|
|
|
end;
|
|
|
|
end.
|
|
|