{ %NORUN } {$mode delphi} { test delphi mode } program tgenconst6; type TList = class list: array[0..U-1] of T; function capacity: integer; end; function TList.capacity: integer; begin result := U; end; var nums:TList; strs:TList; begin nums := TList.Create; strs := TList.Create; end.