fpc/tests/tbf/tb0110.pp
2005-10-26 19:43:50 +00:00

19 lines
280 B
ObjectPascal

{ %skipcpu=x86_64,powerpc64 }
{ %FAIL }
{$mode delphi}
var
{ The next line should give an error as it's to big to allocate }
a: array [ Integer ] of Integer;
i: Integer;
begin
for i := 0 to 1000 do begin
a [ i ] := i
end { for i }
; writeln ( a [ 1000 ] )
end.