1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/jaeger/bug627486.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,23 @@ 1.4 +// |jit-test| error: TypeError 1.5 +// vim: set ts=8 sts=4 et sw=4 tw=99: 1.6 +g = undefined; 1.7 +function L() { } 1.8 + 1.9 +function h() { 1.10 + with (h) { } 1.11 + for (var i = 0; i < 10; i++) 1.12 + g(); 1.13 +} 1.14 + 1.15 +function f(x) { 1.16 + g = x; 1.17 +} 1.18 + 1.19 +f(L); 1.20 +h(); 1.21 +f(L); 1.22 +f(2); 1.23 +h(); 1.24 + 1.25 +/* Don't assert/crash. */ 1.26 +