mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-19 15:41:36 +03:00
13 lines
257 B
Plaintext
13 lines
257 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Fail
|
|
input_file: input/dummy.in
|
|
*/
|
|
|
|
|
|
// Multidimensional array syntax in leo
|
|
function main(y: bool) -> bool {
|
|
const a: [u32; (3, 2)] = [[0; 3]; 2]; // initializer (incorrectly reversed ordering)
|
|
return false;
|
|
}
|