summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug531513.js
blob: acbeeb8fb36c9936ec39e3edd87a35a22321ffaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Binary: cache/js-dbg-32-4a7f5376270a-linux
// Flags: -j
//
try {
  (eval("\
    (function() {\
      for (var y = 0; y < 4; y++) {\
        w = y\
      }\
    })")
  )()
} catch(e) {}
(function() {
  for (v in (x = {})) {}
})();
(function() {
  for (var z = 0; z < 8; z++) {
    if (z == 5) {
      x /= x
    } else {
      for each(w in [1]) {}
    }
  }
})()