leo/compiler/tests/array/multi_fail_inline.leo

4 lines
130 B
Plaintext

function main() {
const arr: [u8; (2, 2)] = [[1u8, 1u8],
[1u8]]; // incorrect dimensions
}