summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testUndemotableBinaryOp.js
blob: 6fd79cda0e53fd1dec602b1e7fc3e7c538849dd8 (plain)
1
2
3
4
5
6
function testUndemotableBinaryOp() {
    var out = [];
    for (let j = 0; j < 5; ++j) { out.push(6 - ((void 0) ^ 0x80000005)); }
    return out.join(",");
}
assertEq(testUndemotableBinaryOp(), "2147483649,2147483649,2147483649,2147483649,2147483649");