leo/disabled_tests/compiler/array/nested.leo

13 lines
186 B
Plaintext
Raw Normal View History

2021-05-05 21:25:24 +03:00
/*
namespace: Compile
expectation: Pass
input_file: input/dummy.in
*/
function main(n: bool) -> bool {
const x = [false; (2, 2)];
2021-05-05 21:25:24 +03:00
const z: bool = x[0][0];
return n == z;
2020-12-17 00:02:31 +03:00
}