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

/* Don't crash/assert. */