leo/asg/tests/fail/array/nested_3x2_value_fail.leo

5 lines
147 B
Plaintext

// Multidimensional array syntax in leo
function main() {
let a: [u32; (3, 2)] = [[0; 3]; 2]; // initializer (incorrectly reversed ordering)
}