summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug863084.js
blob: 1bcb9cd477214da6b89c06a461991cc47f088a29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// |jit-test| error: too much recursion
function f(code) {
    try {
        eval(code)
    } catch (e) {}
    eval(code)
}
f("\
    z=evalcx('');\
    gc();\
    z.toString=(function(){\
        v=evaluate(\"(Math.atan2(\\\"\\\",this))\",{\
            global:z,catchTermination:this\
        });\
    });\
    String(z)\
")