leo/tests/compiler/array/multi_initializer_fail.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;
}