leo/tests/compiler/integers/i16/and.leo

10 lines
143 B
Plaintext
Raw Normal View History

/*
namespace: Compile
2022-06-17 02:45:37 +03:00
expectation: Pass
input_file: inputs/add.in
*/
2021-05-10 20:19:19 +03:00
function main(a: i16, b: i16, c: i16) -> bool {
2022-06-17 02:45:37 +03:00
return a & b == c;
2021-05-10 20:19:19 +03:00
}