summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1073702.js
blob: bd7d6df8a89ae966dac08d29faa81c56da73435d (plain)
1
2
3
4
5
6
7
8
9
10
try {
  let x = ((function f(y) {
    if (y > 0) {
      f(-1)
    }
    x
  })(1))
} catch (e) {
  assertEq(e instanceof ReferenceError, true);
}