leo/tests/compiler/array/tuple_3x2_value_fail.leo
2021-05-05 21:25:24 +03:00

10 lines
193 B
Plaintext

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