fpc/tests/test/timpfuncspez11.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

20 lines
268 B
ObjectPascal

{%FAIL}
{$mode objfpc}
{$modeswitch implicitfunctionspecialization}
{
Testing ambiguous specializations
}
program timpfuncspez11;
generic procedure DoThis<T>(a:T; b: word);
begin
end;
generic procedure DoThis<T>(a: word; b: T);
begin
end;
begin
DoThis(1,1);
end.