summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1238555.js
blob: 4b9963292e23d4ba7c4b7b6159a1c21311398f2d (plain)
1
2
3
4
5
6
7
8
9
10
11
// |jit-test| skip-if: !('oomTest' in this)

oomTest(
  function x() {
    try {
      eval('let ')
    } catch (ex) {
      (function() {})()
    }
  }
);