{%FAIL} {$mode objfpc} {$modeswitch implicitfunctionspecialization} { Test default parameters NOTE: currently default values are not considered for specialization so the test should fail } program timpfuncspez16; generic procedure DoThis(a: integer; b: integer = 0; c: T = 0); begin end; begin DoThis(1); end.