leo/asg/tests/fail/array/tuple_3x2_value_fail.leo

5 lines
147 B
Plaintext
Raw Normal View History

2021-01-25 18:17:42 +03:00
// Multidimensional array syntax in leo
function main() {
let a: [u32; (3, 2)] = [0; (2, 3)]; // initializer (incorrectly reversed ordering)
2021-01-25 18:17:42 +03:00
}