summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1089761.js
blob: b2940b67140828a27271a6f12247ea76a0859a50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
var hits = 0;
for (var j = 0; j < 9; ++j) {
    try {
        (function() {
            (function() {
                eval("x")
                let x
            })()
        })()
    } catch (e) {
      hits++;
    }
}
assertEq(hits, 9);