summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug1462341.js
blob: 3f77b43ba033917e200d0a2f32afb8b45823ab08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// |jit-test| allow-oom

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