summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug759213.js
blob: 5d597b4efbd70543164ec340462bac065c1f1ac1 (plain)
1
2
3
4
5
6
7
8
9
// |jit-test| error: ReferenceError
function testNestedForIn() {
    var a = {x: 1, y: (/\\u00fd[]/ ), z: 3};
    for (var p1 in a)
        for (var { w  }  = 0     ;  ;    )
            testJSON(t);
}

assertEq(testNestedForIn(), 'xx xy xz yx yy yz zx zy zz ');