summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/bug625157.js
blob: 53bed4e681a8d9727051bb885b2a82e1ccb65927 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
function f() {
    {
        function g() {
            var a = [];
            for (var i = 0; i < 10; i++)
                a.push({});
            for (var i = 0; i < 10; i++)
                a[i].m = function() { return 0; }
            assertEq(a[8].m !== a[9].m, true);
        }
        g();
    }
}
f()