summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1263862.js
blob: 955805047a3dbc21fd5b573d5cff1e3503846c87 (plain)
1
2
3
4
5
6
7
8
// |jit-test| skip-if: !('oomTest' in this)

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