{ %NORUN } program tw37187; {$mode objfpc} type generic TTest = class arr: array[0..SizeOf(T)] of Byte; end; generic TTest2 = class public type TTestT = specialize TTest; end; begin end.