summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc5
1 files changed, 4 insertions, 1 deletions
diff --git a/test.toc b/test.toc
index bed24ee..d48623a 100644
--- a/test.toc
+++ b/test.toc
@@ -6,4 +6,7 @@ putf ::= fn(x: float) {
#C("printf(\"%f\\n\", (double)x);
");
};
-point ::= pkg "point"; \ No newline at end of file
+point ::= pkg "point";
+main ::= fn() {
+ x := y;
+}; \ No newline at end of file