blob: d9ce5d2dec84521eff2276472338f5f570b4a91d [file] [log] [blame]
//@ runDefault("--validateAbstractInterpreterState=1", "--forceEagerCompilation=1")
String.__proto__ = createGlobalObject();
const that = {};
that.__proto__ = String;
function foo() {
with (that) {
function bar(a0, a1) {
const v0 = '';
const v1 = undefined;
const v2 = undefined;
const v3 = undefined;
const p = { get: ()=>{} };
for (let j = 0; j < 1; j++) {
function f0() {}
const v4 = Object.defineProperty(''.__proto__, '__proto__', p);
}
const v5 = undefined;
}
for (let i = 0; i < 100; i++) {
new Promise(bar);
}
}
}
foo();