summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug689892.js
blob: ad3fbc85759a01e55ffab02ee961437c91c9e697 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Binary: cache/js-dbg-32-7f4867717226-linux
// Flags: -m -n -a
//

function foo2(x, n) {
  var i = 0;
  while (--n >= 0) {
    x[i++] = 0;
  }
}
foo2([1,0Xae ,3,4,5],('0123456'));