leo/asg/tests/fail/array/multi_fail_inline.leo

4 lines
128 B
Plaintext
Raw Normal View History

2021-01-25 18:17:42 +03:00
function main() {
let arr: [u8; (2, 2)] = [[1u8, 1u8],
[1u8]]; // incorrect dimensions
}