summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1143679.js
blob: a0e0237360cf1c13bd5afdceb993399554d58a30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// |jit-test| error:98
function foo() {
    function gen() {
        try {
            yield 1;
        } finally {
            throw 98;
        }
    }
    for (i in gen()) {
        for each (var i in this)
            return false;
    }
}
foo();