fpc/tests/test/tarrconstr4.pp
Jonas Maebe fd908a70f1 * added missing { %fail }
git-svn-id: trunk@19051 -
2011-09-12 06:53:54 +00:00

16 lines
171 B
ObjectPascal

{ %fail }
program tarrconstr4;
{$mode delphi}
type
TAB = array[0..1] of byte;
var
D: TAB;
begin
// only dynamic arrays are allowed
D := TAB.Create(1, 1);
end.