leo/compiler/tests/canonicalization/illegal_array_range_fail.leo
2021-04-19 13:53:49 -04:00

4 lines
56 B
Plaintext

function main () {
let x = [1u32; 5];
x[..2] += 1;
}