{ %NORUN } {$mode objfpc} { test def compare with specialized types } program tgenconst12; type generic TTest = class end; type ATest = specialize TTest<100>; begin end.