fpc/tests/test/timpfuncspez26.pp
Sven/Sarah Barth 90844c2027 * fix : apply slightly adjusted changes by Ryan Joseph to implement support for implicit generic function specializations
The main adjustments were as follows:
  - fixing coding style and identation
  - fixing some typos
  - using a better name for the property in tcallcandidates which holds the symbols created for anonymous parameter values
2022-04-20 18:59:31 +02:00

17 lines
243 B
ObjectPascal

{%FAIL}
{$mode objfpc}
{$modeswitch implicitfunctionspecialization}
{
Parameter count must match in order for specialization to be considered
}
program timpfuncspez26;
generic procedure Test<T>(aT: T);
begin
end;
begin
Test(1, 1);
end.