leo/tests/compiler/array/tuple_3x2_value_fail.leo

5 lines
149 B
Plaintext
Raw Normal View History

2020-09-03 10:30:57 +03:00
// Multidimensional array syntax in leo
function main() {
const a: [u32; (3, 2)] = [0; (2, 3)]; // initializer (incorrectly reversed ordering)
2020-09-03 10:30:57 +03:00
}