tb0110.pp 250 B

1234567891011121314151617
  1. { %FAIL }
  2. {$mode delphi}
  3. var
  4. { The next line should give an error as it's to big to allocate }
  5. a: array [ Integer ] of Integer;
  6. i: Integer;
  7. begin
  8. for i := 0 to 1000 do begin
  9. a [ i ] := i
  10. end { for i }
  11. ; writeln ( a [ 1000 ] )
  12. end.