summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testBug550210.js
blob: d4fa9d16a2481be6156732b0a998a8631b5ef3f0 (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 in rv) ;
} catch (e) {
    print("" + g(e));
}
gc();