summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc8
1 files changed, 4 insertions, 4 deletions
diff --git a/test.toc b/test.toc
index 7df50d5..e582078 100644
--- a/test.toc
+++ b/test.toc
@@ -1,8 +1,8 @@
main @= fn() {
// b := !(5 > 3 && 4 <= 3 && 3 >= 2 || 0 == 1 || 5 != 3);
- foo : [3]int;
- // x, foo[0], foo[1] = 3, 5;
- x :, y := 0;
- x = 3.5;
+ N @= 2;
+ foo : [N+1]int;
+ x : float;
+ x, foo[0], foo[1] = 1.3, 3, 5;
};