summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc16
1 files changed, 16 insertions, 0 deletions
diff --git a/test.toc b/test.toc
index c90b3ce..f989ecf 100644
--- a/test.toc
+++ b/test.toc
@@ -1,6 +1,22 @@
+/*
+
#include "std/io.toc", io;
+
+
main ::= fn() {
io.file_writes(&io.std_out, "hello!\n");
io.file_flush(&io.std_out);
}
+
+*/
+
+
+#include "tests/std/io.toc", io;
+a, b := 5;
+main ::= fn() {
+ a = 6;
+ io.puti(a);
+ io.puti(b);
+}
+main();