Debian Codegraph @

gcc/testsuite/gm2/pim/pass/arrayhuge.mod

raw
1 (* Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008
2 Free Software Foundation, Inc. *)
3 (* This file is part of GNU Modula-2.
4
5 GNU Modula-2 is free software; you can redistribute it and/or modify it under
6 the terms of the GNU General Public License as published by the Free
7 Software Foundation; either version 2, or (at your option) any later
8 version.
9
10 GNU Modula-2 is distributed in the hope that it will be useful, but WITHOUT ANY
11 WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13 for more details.
14
15 You should have received a copy of the GNU General Public License along
16 with gm2; see the file COPYING. If not, write to the Free Software
17 Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *)
18
19 MODULE arrayhuge ;
20
21 VAR
22 a: ARRAY [MAX(CARDINAL)-4..MAX(CARDINAL)] OF CHAR ;
23 i: CARDINAL ;
24 BEGIN
25 a[MAX(CARDINAL)-1] := 'd' ;
26 (*
27 a[MAX(CARDINAL)-4] := 'a' ;
28 FOR i := MAX(CARDINAL)-4 TO MAX(CARDINAL) DO
29 a[i] := 'z'
30 END
31 *)
32 END arrayhuge.