summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc3
1 files changed, 2 insertions, 1 deletions
diff --git a/test.toc b/test.toc
index 1e3969c..5a69154 100644
--- a/test.toc
+++ b/test.toc
@@ -1,3 +1,5 @@
+pkg "foo";
+
Foo ::= struct {
x: int;
};
@@ -5,7 +7,6 @@ Foo ::= struct {
foo ::= fn() int {
3
};
-
#export main ::= fn() {
g ::= fn() int { 3 };
a := new (int, 3);