| 12345678910 |
- MODULE SubrangeArrays;
- (* Grammar test: subrange bounds with and without spaces around "..".
- Run: <GNU-grammar>/bin/GM2 subrange-arrays.mod (expect 0 errors). *)
- VAR a : ARRAY [0..10] OF CHAR;
- b : ARRAY[0..10] OF CHAR;
- c : ARRAY [0 .. 10] OF CHAR;
- d : ARRAY [0..10], [1..5] OF INTEGER;
- e : ARRAY CHAR OF INTEGER;
- BEGIN
- END SubrangeArrays.
|