1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/jaeger/bug592973-1.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,12 @@ 1.4 +// vim: set ts=8 sts=4 et sw=4 tw=99: 1.5 +function f(x) { 1.6 + if (x) { 1.7 + let y; 1.8 + y = 12; 1.9 + (function () { 1.10 + assertEq(y, 12); 1.11 + })(); 1.12 + } 1.13 +} 1.14 +f(1); 1.15 +