fpc/tests/test/tarrconstr3.pp

15 lines
160 B
ObjectPascal

{ %fail}
program tarrconstr3;
{$mode delphi}
type
TAB = array of byte;
var
D: TAB;
begin
// CREATE expected but INIT found
D := TAB.init(1, 1);
end.