raz
/
conform
/
run
/ IndexBig.raz
about
files
log
releases
feed
15 lines · 270 B ·
raw
·
history
· last change
b38de572
1
(* An index is checked by its value: 4294967297 in a U64 is past the
2
length, not 1. *)
3
module
IndexBig;
4
import
Out;
5
6
proc
main*;
7
var
a: [
3
]
I64
; u:
U64
;
8
begin
9
Out.str(
"before\n"
);
10
u :=
4294967297
;
11
Out.int(a[u]);
12
Out.str(
"after\n"
);
13
end
;
14
15
end
IndexBig.