summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc12
1 files changed, 0 insertions, 12 deletions
diff --git a/test.toc b/test.toc
index 2770b9e..c278703 100644
--- a/test.toc
+++ b/test.toc
@@ -1,17 +1,5 @@
-arr ::= pkg "std/arr";
io ::= pkg "std/io";
-putptri ::= fn(x: &int) {
- io.puti(*x);
-};
-
main ::= fn() {
io.puts("Hello, world!");
- x : arr.Arr(int);
- arr.arr_add(&x, 10);
- arr.arr_add(&x, 20);
- arr.arr_add(&x, 80);
- arr.arr_add(&x, 5430);
- arr.arr_add(&x, -6546);
- arr.arr_foreach(x, putptri);
}; \ No newline at end of file