summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1079062.js
blob: f03f1e05244efbadd0bb21c3a6b49cd1257c3a78 (plain)
1
2
3
4
5
6
function f(y) {
    return ((y ? y : 0) ? 0 : y)
}
m = [0xf]
f(m[0])
assertEq(f(m[0]), 0)