| 1 | module 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 | |
| 7 | import Rt; |
| 8 | |
| 9 | proc main*: INT; |
| 10 | begin |
| 11 | Rt.say("hello\n"); |
| 12 | return 3; |
| 13 | end; |
| 14 | |
| 15 | end Own. |