1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/auto-regress/bug649937.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,21 @@ 1.4 +// Binary: cache/js-dbg-64-a3eeee8f7803-linux 1.5 +// Flags: -m -n 1.6 +// 1.7 +var i = 0; 1.8 +var gTestcases = new Array; 1.9 +var gTc = gTestcases; 1.10 +function TestCase(n, d, e, a) { 1.11 + this.description=d; 1.12 + gTestcases[gTc++]=this; 1.13 +} 1.14 +function writeTestCaseResult( expect, actual, string ) {}; 1.15 +new TestCase; 1.16 +test(); 1.17 +function test() { 1.18 + for ( gTc=0 ; ; ) { 1.19 + i++; 1.20 + if (i > 20) { break; } 1.21 + gTestcases[gTc].description+=" )"; 1.22 + gTestcases=[1,]; 1.23 + } 1.24 +}