{ %FAIL } program tgenfwd11; {$mode objfpc} type generic TTest = class; generic TTest = class end; begin end.