pascalabcnet/TestSuite/formatter_tests/input/setlength1.pas
Бондарев Иван e6e67c193c initial commit
2015-05-14 21:35:07 +02:00

11 lines
149 B
ObjectPascal

type TRec = record
s : string;
end;
var arr : array of TRec;
begin
SetLength(arr,Length(arr)+1);
assert(Length(arr)=1);
assert(arr[0].s='');
end.