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

5 lines
72 B
Plaintext

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