mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-28 15:43:41 +02:00
18 lines
250 B
ObjectPascal
18 lines
250 B
ObjectPascal
{ %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.
|