leo/compiler/tests/canonicalization/illegal_array_range_fail.leo

4 lines
56 B
Plaintext
Raw Normal View History

2021-04-19 20:53:49 +03:00
function main () {
let x = [1u32; 5];
x[..2] += 1;
}