raz
/
conform
/
err
/ SystemArith.raz
about
files
log
releases
feed
14 lines · 211 B ·
raw
·
history
· last change
4402a682
1
(* A pointer moved by arithmetic needs import SYSTEM (report 3, 6.4). *)
2
module
SystemArith;
3
4
proc
next(p: ^
INT
): ^
INT
;
5
begin
6
return
p +
1
;
7
end
;
8
9
proc
main*;
10
begin
11
_ := next(
nil
);
12
end
;
13
14
end
SystemArith.