summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2019-10-07 14:55:02 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2019-10-07 14:55:02 -0400
commit5fc9df5d515274efeed73ebce325b71e202c4ac5 (patch)
treee87c4ff465ea8488f0bdf8170ead8689db2f0822 /test.toc
parentf08f00ea3bd2e1a99b35a4811c584534b1232254 (diff)
compile time at index
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.toc b/test.toc
index c472568..0d12e27 100644
--- a/test.toc
+++ b/test.toc
@@ -3,5 +3,5 @@ main @= fn() {
// N, M @= 8 * if foo { 8 } else { 3} - 3, 894;
// foo @= new[3]int;
// x : [foo[0]]int;
- y : [{x := (439 as &u8); *x = 7; *x }]f32;
+ y : [{x : [3]int; x[0] = 7; x[0] }]f32;
}; \ No newline at end of file