raz / test / own / Own.raz

15 lines · 281 B · raw · history · last change d9e9f115

1module Own;
2
3(* A program for the bare machine that brings its own Rt, test/own/lib's,
4 of exit and fail alone: it says hello by that Rt's system call, then
5 ends with main's result, 3. *)
6
7import Rt;
8
9proc main*: INT;
10begin
11 Rt.say("hello\n");
12 return 3;
13end;
14
15end Own.