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

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