summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug649937.js
blob: 84152afc0594e2d2e286b2a878d36082f0eb0bd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Binary: cache/js-dbg-64-a3eeee8f7803-linux
// Flags: -m -n
//
var i = 0;
var gTestcases = new Array;
var gTc = gTestcases;
function TestCase(n, d, e, a) {
  this.description=d;
  gTestcases[gTc++]=this;
}
function writeTestCaseResult( expect, actual, string ) {};
new TestCase;
test();
function test() {
  for ( gTc=0 ; ; ) {
    i++;
    if (i > 20) { break; }
    gTestcases[gTc].description+=" )";
    gTestcases=[1,];
  }
}