summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/baseline/bug847678.js
blob: 80ecebfdf0b016e6dc91198e62dd550398993422 (plain)
1
2
3
4
5
6
7
// |jit-test| error: TypeError
s = newGlobal();
function g(c) {
    evalcx(c, s)
}
g("[eval]=(function(){})")
g("while(eval());")