leo/tests/compiler/integers/i128/negate.leo

12 lines
158 B
Plaintext

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