diff options
Diffstat (limited to 'tests/nms/nms.toc')
-rw-r--r-- | tests/nms/nms.toc | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/nms/nms.toc b/tests/nms/nms.toc deleted file mode 100644 index 413da8d..0000000 --- a/tests/nms/nms.toc +++ /dev/null @@ -1,20 +0,0 @@ -io ::= nms { - #include "io.toc"; -}; - -n ::= nms { - x := 1; - counter ::= fn() int { x += 1; x }; -}; - - -main ::= fn() { - a := n.counter(); - b := n.counter(); - n.counter(); - c := n.counter(); - io.puts("Hello!"); - io.puti(a); - io.puti(b); - io.puti(c); -}; |