leo/asg/tests/pass/integers/i32/negate_zero.leo

5 lines
72 B
Plaintext

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