leo/tests/compiler/_field/negate.leo
2021-05-05 17:48:33 +03:00

3 lines
66 B
Plaintext

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