raz / conform / err / SystemArith.raz

14 lines · 211 B · raw · history · last change 4402a682

1(* A pointer moved by arithmetic needs import SYSTEM (report 3, 6.4). *)
2module SystemArith;
3
4proc next(p: ^INT): ^INT;
5begin
6 return p + 1;
7end;
8
9proc main*;
10begin
11 _ := next(nil);
12end;
13
14end SystemArith.