summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testInterpreterReentry3.js
blob: 91de965a022271b9b2989ddfd054bc50fcdc8e35 (plain)
1
2
3
4
5
6
function testInterpreterReentry3() {
    for (let i=0;i<5;++i) this["y" + i] = function(){};
    this.__defineGetter__('e', function (x2) { yield; });
    return 1;
}
assertEq(testInterpreterReentry3(), 1);