leo/tests/compiler/input_files/program_input_constants/main_array.leo

11 lines
183 B
Plaintext

/*
namespace: Compile
expectation: Pass
input_file: input/main_array.in
*/
function main(const x: [i16; 1], y: bool) -> bool {
console.log("{}", x);
return x[0] == 0 == y;
}