summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug637010.js
blob: 3490f6c9f07e2a715f7a051f4bb99b28dad15bf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Binary: cache/js-dbg-64-d708c2fa7fea-linux
// Flags:
//
var o0 = Iterator.prototype;
function f0(o) {}
try {
  for(var i=0; i<7; i++) {
    try { o0.prototype(); } catch(e) {
      if (o0.next() != 7)
        throw "7 not yielded";
    };
  }
} catch(exc1) {}