summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug633409-2.js
blob: d3c498d6d2353a4850dee55b33878f221e583c30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// vim: set ts=8 sts=4 et sw=4 tw=99:

var o1 = {p1: 1};
var o2 = {p1: 1, p2: 2};

for(var x in o1) {
    for(var y in o2) {
        delete o2.p2;
    }
}

/* Don't fail cx->enumerators == obj assert, see bug comment #31 */