raz
/
test
/
mac
/ DivZero.raz
about
files
log
releases
feed
14 lines · 212 B ·
raw
·
history
· last change
6d4487fb
1
(* A U8 divided by zero, in mod, stops the program *)
2
module
DivZero;
3
import
Out;
4
5
proc
main*;
6
var
a, b:
U8
;
7
begin
8
a :=
7
;
9
Out.str(
"before\n"
);
10
Out.int(
I64
(a
mod
b));
11
Out.ln();
12
end
;
13
14
end
DivZero.