leo/tests/compiler/field/negate.leo

10 lines
141 B
Plaintext

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