diff options
Diffstat (limited to 'test.toc')
-rw-r--r-- | test.toc | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -1,6 +1,9 @@ -puts ::= #foreign("puts", "libc.so.6") fn (#C int); +putchar ::= #foreign("putchar", "libc.so.6") fn (#C int) #C int; + main ::= fn() { - puts("Hello!"); -};
\ No newline at end of file + putchar(97); + putchar('\n' as i32); +}; +main();
\ No newline at end of file |