leo/compiler/tests/field/negate.leo
2020-08-04 21:37:09 -07:00

3 lines
60 B
Plaintext

function main(a: field, b: field) {
assert_eq!(-a, b);
}