summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testInterpreterReentry6.js
blob: c5a6b2863042f17b1df3c064af0d15bf25867798 (plain)
1
2
3
4
5
6
7
function testInterpreterReentry6() {
    var obj = {a:1, b:1, c:1, d:1, set e(x) { this._e = x; }};
    for (var p in obj)
        obj[p] = "grue";
    return obj._e;
}
assertEq(testInterpreterReentry6(), "grue");