1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/auto-regress/bug756236.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,14 @@ 1.4 +// Binary: cache/js-dbg-64-14735b4dbccc-linux 1.5 +// Flags: --ion-eager 1.6 +// 1.7 + 1.8 +gczeal(4); 1.9 +function startTest() {} 1.10 +function TestCase(n, d, e, a) 1.11 + dump = (function () {}); 1.12 + if (typeof document != "object" || !document.location.href.match(/jsreftest.html/)) {} 1.13 +function writeHeaderToLog( string ) {} 1.14 +var SECTION = "11.4.5"; 1.15 +new TestCase( SECTION, "var MYVAR= void 0; --MYVAR", NaN, eval("var MYVAR=void 0; --MYVAR") ); 1.16 +new TestCase( SECTION, "var MYVAR=0;--MYVAR;MYVAR", -1, eval("var MYVAR=0;--MYVAR;MYVAR") ); 1.17 +new TestCase( SECTION, "var MYVAR=0;--MYVAR;MYVAR", -1, eval("var MYVAR=0;--MYVAR;MYVAR") );