summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug852016.js
blob: 971d426a83cbcb706f567a66d6753ad9835b505f (plain)
1
2
3
4
5
6
7
8
9
//|jit-test| error: SyntaxError

(function() {
    x = "arguments";
    f = eval("(function(){return(c for (x in eval('print(arguments[0])')))})");
    for (e in f()) {
        (function() {});
    }
})(3)