summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/generators/bug908920.js
blob: 5de57c546e62262b2524ca7138081f1c5ddb86bd (plain)
1
2
3
4
5
6
7
8
9
if (typeof schedulegc != 'undefined') {
    Function("\
        x = (function*() { yield })();\
        new Set(x);\
        schedulegc(1);\
        print( /x/ );\
        for (p in x) {}\
    ")();
}