leo/tests/compiler/array/multi_fail_initializer.leo
2021-04-19 18:08:14 -07:00

3 lines
88 B
Plaintext

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