summaryrefslogtreecommitdiff
path: root/js/src/jit-test/tests/ion/bug1333946.js
blob: 1fa1b9c491fe3a257d7a84dd504afc6cfff389a4 (plain)
1
2
3
4
5
6
7
8
// |jit-test| error: 42;

for (var x of [0]) {
  for (var i = 0; ; i++) {
    if (i === 20000)
      throw 42;
  }
}