summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug940635.js
blob: 62e1eb55332bff74a5f6b7db32bb3f9d00d4bb41 (plain)
1
2
3
4
5
6
7
function f(y) {
    return (y > 0) == y;
}
assertEq(f(0), true);
assertEq(f(0), true);
assertEq(f(null), false);
assertEq(f(null), false);