summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/bug618849.js
blob: 0df67a069f64593f6d37797746c7732d81de40ab (plain)
1
2
3
4
5
6
7
8
9
10
11

function f() {
    function g() {
        var b = x;
        var c = b++ & b;
        return c;
    }
    var x = x--;
    return g();
}
assertEq(f(), 0);