summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug732852.js
blob: 8936fa855ffbe2dc58ba05942e66a4a1eeaf9973 (plain)
1
2
3
4
5
6
7
8
9
10
// |jit-test| error:SyntaxError

// Binary: cache/js-dbg-64-1fd6c40d3852-linux
// Flags: --ion-eager
//

var ary = ["\u001Cfoo", "\u001Dfoo", "\u001Efoo", "\u001Ffoo"];
for (var i in ary) {
  ary[Number(i)].search("var MYVAR='077';++MYVAR")
}