raz
/
test
/
run
/ DivZero.raz
about
files
log
releases
feed
12 lines · 200 B ·
raw
·
history
· last change
2411fde8
1
module
DivZero;
2
(* Dividing by zero stops the program with SIGFPE, after saying where *)
3
4
proc
main*:
INT
;
5
var
a, b:
INT
;
6
begin
7
a :=
7
;
8
b :=
ARGC
() -
1
;
9
return
a
mod
b;
10
end
;
11
12
end
DivZero.