leo/tests/compiler/integers/i8/negate_zero.leo
2021-05-03 17:28:53 +03:00

10 lines
114 B
Plaintext

/*
namespace: Compile
expectation: Pass
*/
function main() {
const a = 0i8;
console.assert(-a == 0i8);
}