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

3 lines
60 B
Plaintext

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