summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2019-09-27 15:21:18 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2019-09-27 15:21:18 -0400
commit5d2189294d001bf6aa495f4baceaee7464675b06 (patch)
treeb8c7b625d8e6ab176f58c0f9c2dcc7240deacacf /test.toc
parent191ba8c6b087c8122ab80801ac0b79caa7c9df6d (diff)
castig
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 e582078..d041aa3 100644
--- a/test.toc
+++ b/test.toc
@@ -1,8 +1,8 @@
main @= fn() {
// b := !(5 > 3 && 4 <= 3 && 3 >= 2 || 0 == 1 || 5 != 3);
- N @= 2;
- foo : [N+1]int;
- x : float;
- x, foo[0], foo[1] = 1.3, 3, 5;
+ N, M @= 2;
+ foo := 3;
+ bar : float = foo as float;
+
};