leo/compiler/tests/integers/i64/negate_zero.leo

5 lines
72 B
Plaintext

function main() {
const a = 0i64;
console.assert(-a == 0i64);
}