summaryrefslogtreecommitdiff
path: root/tests/nms.toc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/nms.toc')
-rw-r--r--tests/nms.toc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/nms.toc b/tests/nms.toc
index 32c2955..f5aa688 100644
--- a/tests/nms.toc
+++ b/tests/nms.toc
@@ -4,7 +4,7 @@ io ::= nms {
n ::= nms {
x := 1;
- counter ::= fn() int { x += 1; x };
+ counter ::= fn() int { x += 1; return x; };
};