{$mode objfpc} type generic TMyArray = array[0..10] of longint; var MyArr: specialize TMyArray; begin MyArr[0] := 1; end.