1
1
mirror of https://github.com/AleoHQ/leo.git synced 2024-12-27 19:41:50 +03:00
leo/tests/compiler/array/multi_fail_initializer.leo
2021-05-05 21:25:24 +03:00

11 lines
186 B
Plaintext

/*
namespace: Compile
expectation: Fail
input_file: input/dummy.in
*/
function main() -> bool {
const arr: [u8; (2, 2)] = [[1u8; 2]; 1]; // incorrect dimensions
return false;
}