leo/compiler/tests/integers/i128/negate_zero.leo

5 lines
74 B
Plaintext

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