leo/tests/compiler/integers/i64/negate.leo

12 lines
156 B
Plaintext

/*
namespace: Compile
expectation: Pass
input_file:
- inputs/neg.in
- inputs/neg_rev.in
*/
function main(a: i64, b: i64) -> bool {
return -a == b;
}