summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc12
1 files changed, 2 insertions, 10 deletions
diff --git a/test.toc b/test.toc
index 8eed5b7..01c9646 100644
--- a/test.toc
+++ b/test.toc
@@ -1,13 +1,5 @@
-io ::= nms {
-#include "std/io.toc";
-};
-
-foo ::= fn() <int, int> {
- 3, 5
-};
main ::= fn() {
- _, x := foo();
- y, _ := foo();
- io.puti(x); io.puti(y);
+ x :: &int = new(int);
+ y := x;
}; \ No newline at end of file