blob: e608f89db39de01a28ab846cfdf98e212f17e097 [file] [log] [blame]
//@ runDefault("--jitPolicyScale=0")
function foo() {
function bar() {
class C {
constructor() {
this.x = 42;
}
}
let c = new C();
for (let i=0; i<100; i++) {
c.x;
}
};
for (let i=0; i<1000; i++) {
bar();
}
}
for (let i=0; i<25; i++) {
runString(`${foo};foo();`);
}