summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc16
1 files changed, 1 insertions, 15 deletions
diff --git a/test.toc b/test.toc
index ca38680..5976415 100644
--- a/test.toc
+++ b/test.toc
@@ -1,20 +1,6 @@
#include "tests/std/io.toc";
-#init(-50) init(1);
-#init(30) init(2);
-#init(-7) init(3);
-#init(-42) init(4);
-
-init ::= fn(a: int) {
- writes("Initializing... #");
- writei(a);
- x = 5;
-}
-
-x: int;
-
main ::= fn() {
- writes("Main's value of x is: ");
- puti(x);
+ puts("hello");
}