summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1263862.js
blob: 04bc61009dc2ac10aa616d26c256d0ae88d9405f (plain)
1
2
3
4
5
6
7
8
9
if (!('oomTest' in this))
    quit();

function loadFile(lfVarx) {
  oomTest(() => eval(lfVarx));
}
for (var i = 0; i < 10; ++i) {
  loadFile(`"use strict"; const s = () => s;`);
}