blob: c0698eb7f970405481438afc7a6562287f8f8f7a [file] [log] [blame]
// This should not crash.
function foo() {
let r = /a/;
r.compile(undefined, ...'d');
let a = r.exec(/b/);
a.x;
}
for (let i = 0; i < 1000; i++) {
foo();
}