summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test.toc b/test.toc
index 32c2955..7b57b1b 100644
--- a/test.toc
+++ b/test.toc
@@ -3,12 +3,12 @@ io ::= nms {
};
n ::= nms {
- x := 1;
- counter ::= fn() int { x += 1; x };
+ #export x := 1;
+ #export counter ::= fn() int { x += 1; x };
};
-main ::= fn() {
+#export main ::= fn() {
a := n.counter();
b := n.counter();
n.counter();