summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc6
1 files changed, 4 insertions, 2 deletions
diff --git a/test.toc b/test.toc
index da377c8..c31ddda 100644
--- a/test.toc
+++ b/test.toc
@@ -1,9 +1,11 @@
#include "std/io.toc";
-f ::= fn(x : ..) int {
+f ::= fn(x :: ..) int {
x[0] + x[1]
};
main ::= fn() {
puti(f(1,2));
-}; \ No newline at end of file
+};
+
+main(); \ No newline at end of file