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

11 lines
185 B
Plaintext
Raw Normal View History

2021-05-05 17:35:34 +03:00
/*
namespace: Compile
expectation: Pass
input_file: input/main_array.in
*/
function main(const x: [i16; 1], y: bool) -> bool {
2021-03-12 13:56:38 +03:00
console.log("{}", x);
2021-07-01 23:40:29 +03:00
return (x[0] == 0) == y;
2021-05-05 17:35:34 +03:00
}