summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc14
1 files changed, 1 insertions, 13 deletions
diff --git a/test.toc b/test.toc
index 2a4b107..086de07 100644
--- a/test.toc
+++ b/test.toc
@@ -1,18 +1,6 @@
-#include #force "std/io.toc", io;
-#include #force "std/io.toc", foo;
-#include #force "std/io.toc";
-a ::= nms {
- b ::= nms {
- x := 3;
- };
- f ::= fn() { b.x += 1; io.puti(b.x); foo.puti(b.x); puti(b.x);
- };
-};
+puts ::= #foreign fn (#C int);
main ::= fn() {
- a.f();
- a.f();
- a.f();
}; \ No newline at end of file