summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug808023.js
blob: 56bcf75bcb68021c66d45ba4e830c16760b9cd1e (plain)
1
2
3
4
5
6
7
// |jit-test| error: TypeError
t = ""
function f(code) {
  eval("(function(){" + code + "})")()
}
evalcx("")
f("var r=({a:1})[\"\"];t(r)")