leo/tests/compiler/array/multi_fail_inline.leo

12 lines
228 B
Plaintext
Raw Normal View History

2021-05-05 21:25:24 +03:00
/*
namespace: Compile
expectation: Fail
input_file: input/dummy.in
*/
function main() -> bool {
const arr: [u8; (2, 2)] = [[1u8, 1u8],
2020-09-02 21:40:58 +03:00
[1u8]]; // incorrect dimensions
2021-05-05 21:25:24 +03:00
return false;
}