summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/baseline/bug936403.js
blob: 81946d88ed405ac9ca3b1a5bcaee792e5bebf7b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

s = newGlobal()
function f(code) {
    evalcx(code, s)
}
f("\
    c = [];\
    var x;\
    for each(z in[\
        x,,[],,new Number,,,,new Number,,,,new Number,new Number,[],\
        ,,,[],,new Number,,new Number,,[],new Number,[],,,,,,[],\
        new Number,,new Number,[],,[],,,,[],,[],,,,,,,,,[],[],,[],\
        [],[],,new Number,[],[],,[],,new Number,new Number,new Number,\
        new Number,new Number,,,new Number,new Number,,[],[],[],,,[],\
        [],[],new Number,,new Number,,,,,[],new Number,new Number,[],\
        [],[],[],,x,[]]\
    ) {\
        c = z\
    };\
");
f("c");