summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc7
1 files changed, 6 insertions, 1 deletions
diff --git a/test.toc b/test.toc
index 4223656..52d952e 100644
--- a/test.toc
+++ b/test.toc
@@ -26,5 +26,10 @@ tprintf ::= fn(fmt :: []char, args: ..) where tprintf_valid(fmt, args.len) {
};
main ::= fn() {
- tprintf("%d %d%%\n\0", 3, 4);
+ tprintf("Hello\n\0");
+ return;
+ x := 5;
+ tprintf("%d %d%%\n\0", 3, 4);
};
+
+main(); \ No newline at end of file