summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug686107.js
blob: 9135cd6c12d58e496378d9d51b77fb4efa54cb30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// |jit-test| error:TypeError

// Binary: cache/js-dbg-64-d078623f7875-linux
// Flags: -m -n -a
//

function testKeyTransitions() {
  var i, key, result, message;
  var array = [];
  for (i = 0; i != 10; i++) {
    key = (i < 3) ? 'pop' : (/\u009e\u0029/g );
    array[key](i);
  }
}
testKeyTransitions();