leo/tests/compiler/array/nested.leo
2021-05-05 21:25:24 +03:00

13 lines
186 B
Plaintext

/*
namespace: Compile
expectation: Pass
input_file: input/dummy.in
*/
function main(n: bool) -> bool {
const x = [false; (2, 2)];
const z: bool = x[0][0];
return n == z;
}