* check for array size

This commit is contained in:
peter 2004-11-02 07:43:22 +00:00
parent cf0fb016c6
commit f5f187f3a9

10
tests/test/tarray5.pp Normal file
View File

@ -0,0 +1,10 @@
{ %fail }
var
{ This shouldn't be allowed, the number of elements
doesn't fit in a aint }
mem : array[0..high(aint)] of byte ;
begin
end;