leo/tests/pass/parse/array/variable_slice_fail.leo
2021-03-03 09:59:24 -08:00

7 lines
127 B
Plaintext

function main() {
let a = [1u8; 10];
for i in 0..10 {
let x = a[i..10];
console.debug("{}", x);
}
}