summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug1462341.js
blob: 37c4f2129cbd1c9c97bc9a64af17cddcc2b1acc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// |jit-test| allow-oom; skip-if: !('oomTest' in this)

loadFile(`
  switch (0) {
    case (-1):
  }
`);
function loadFile(lfVarx) {
  oomTest(function() {
      let m = parseModule(lfVarx);
  });
}