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

5 lines
149 B
Plaintext

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