summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/modules/bug1685992.js
blob: d1672e18f91efd6019dc09b9fce7fb802fa1bcd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// |jit-test| --ion-offthread-compile=off

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