mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-11 19:48:09 +02:00
21 lines
253 B
ObjectPascal
21 lines
253 B
ObjectPascal
{ %FAIL }
|
|
|
|
{ the type parameters of the implementation need to match those of the forward declaration }
|
|
unit tgenfunc18;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
interface
|
|
|
|
implementation
|
|
|
|
generic procedure Test<T>; forward;
|
|
|
|
generic procedure Test<S>;
|
|
begin
|
|
|
|
end;
|
|
|
|
end.
|
|
|