leo/compiler/tests/field/negate.leo
2020-08-16 19:14:26 -07:00

3 lines
66 B
Plaintext

function main(a: field, b: field) {
console.assert(-a == b);
}