summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-01-03 23:57:33 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2020-01-03 23:57:33 -0500
commit50c892e0a68c7e6d17ce49edf0c13ada7e1cdbfc (patch)
tree024761d74f69ebd869ece7475c935b0157b42ff3 /test.toc
parent5665bde91427725cf0231cab7e54a6b37b6fba7f (diff)
fixed a bug with returning
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 fba8ffb..24b6bcf 100644
--- a/test.toc
+++ b/test.toc
@@ -1,2 +1,4 @@
-#export asdf ::= int;
-#export ghjk := #sizeof(asdf); \ No newline at end of file
+#export main ::= fn() int {
+ {3}
+};
+// #export ghjk := #sizeof(asdf); \ No newline at end of file