leo/tests/compiler/field/negate.leo
2021-04-19 18:08:14 -07:00

3 lines
66 B
Plaintext

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