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

function f() {
    var x = 1.23;
    function g() {
        var y = x++;
        assertEq(y, 1.23);
    }
    g();
    assertEq(x, 2.23);
}
f();