summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc8
1 files changed, 7 insertions, 1 deletions
diff --git a/test.toc b/test.toc
index e17d3a2..44bde7e 100644
--- a/test.toc
+++ b/test.toc
@@ -1 +1,7 @@
-x : [1]int; \ No newline at end of file
+f ::= fn(x := 3, y:int) {
+
+};
+
+main ::= fn() {
+ f(5);
+};