program tgeneric32; {$MODE DELPHI} {$APPTYPE CONSOLE} type TFoo = class constructor Create; end; constructor TFoo.Create; begin inherited Create; end; var FooInt: TFoo; begin // check inline specialization FooInt := TFoo.Create; FooInt.Free; end.