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