summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/warp/bug1704467.js
blob: 6d9172a2ef7156602f3aa6727c55155ca3f078db (plain)
1
2
3
4
5
6
7
8
9
var always_true = true;
function f() {
    var obj = {x: 1};
    for (var i = 0; i < 100; i++) {
        var res = always_true ? obj : null;
        assertEq(res, obj);
    }
}
f();