leo/compiler/tests/integers/i8/negate_zero.leo

5 lines
70 B
Plaintext

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