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

// Binary: cache/js-dbg-64-67bf9a4a1f77-linux
// Flags: --ion-eager
//

(function () {
  var a = ['x', 'y'];
  obj.watch(a[+("0")], counter);
})();