leo/tests/compiler/field/negate.leo

10 lines
141 B
Plaintext
Raw Normal View History

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