summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc13
1 files changed, 2 insertions, 11 deletions
diff --git a/test.toc b/test.toc
index cb0b448..1ce3f12 100644
--- a/test.toc
+++ b/test.toc
@@ -1,15 +1,6 @@
#include "std/io.toc";
main ::= fn() {
- a : [5][]char;
- for x, i : (&[]char, u8) = &a {
- *x = "foo";
- }
- for y : []char = a {
- puts(y);
- }
- for x, i := a {
- puti(i);
- puts(x);
- }
+ for x : 3 = "foo" { a := x; }
+
}