leo/compiler/tests/array/multi_fail_initializer.leo

3 lines
88 B
Plaintext

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