summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testBug550210.js
blob: 1e722bd14ff5c215b288563fb87e9c54de43a014 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
function g(e) {
    return ("" + e);
}

function* blah() {
    do {
        yield;
    } while ({}(p = arguments));
}
rv = blah();
try {
    for (a of rv) ;
} catch (e) {
    print("" + g(e));
}
gc();