summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/generators/bug908920.js
blob: 4cb781b5722226d867a6f1c3ffaa5fb06b4fb68d (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) {}\
    ")();
}