summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc8
1 files changed, 2 insertions, 6 deletions
diff --git a/test.toc b/test.toc
index 07ac819..7a8105f 100644
--- a/test.toc
+++ b/test.toc
@@ -1,10 +1,6 @@
#include "std/io.toc", io;
main ::= fn() {
- foo(12);
+ io.puts("Hello, world!");
}
+main();
-use io;
-
-foo ::= fn(x :: int) {
- puti(x);
-}