summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1159899.js
blob: 10d930f3b90eecde41868a1945ae91caef62d1f3 (plain)
1
2
3
4
5
function f(x) {
        return ~~(x >>> 0) / (x >>> 0) | 0
}
f(1)
assertEq(f(-1), 0);