1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/basic/bug558530.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,14 @@ 1.4 +// There's no assertEq() here; the test is just that it doesn't crash. 1.5 +(function () { 1.6 + new function () {} 1.7 +}()); 1.8 +[function () {}] 1.9 +gc() 1.10 +for (z = 0; z < 6; ++z) { 1.11 + x = [] 1.12 +} 1.13 +for (w in [0]) { 1.14 + x._ = w 1.15 +} 1.16 +gc() 1.17 +