summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/bug554580-3.js
blob: 7728e5adf7ef3b0dd05ed82fdd070628d6cad3af (plain)
1
2
3
4
5
6
7
8
9
10
11
// |jit-test| error: TypeError
Function("\n\
  for (a = 0; a < 3; a++) {\n\
    if (a == 0) {} else {\n\
      this.__defineSetter__(\"\",1)\n\
    }\n\
  }\n\
")()

/* Don't crash/assert. */