summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/modules/bug1685992.js
blob: 39fd4ce7fda1a19d4bdcabe6a6680b0941a79700 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// |jit-test| --ion-offthread-compile=off; skip-if: !('oomTest' in this)

function oomModule(lfMod) {
  oomTest(function () {
    parseModule(lfMod);
  });
}
oomModule(`
  class B50 {
    #priv() {}
  }
`)