summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1472734.js
blob: 2d4432743db6248b20a703aae78eec081689a448 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// |jit-test| skip-if: helperThreadCount() === 0

try {
    oomTest(function() {
      eval(`
        function eval(source) {
          offThreadCompileModuleToStencil(source);
          minorgc();
        }
        eval("");
      `);
    });
} catch (exc) {}