diff -r 000000000000 -r 6474c204b198 js/src/jit-test/tests/auto-regress/bug487570.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/js/src/jit-test/tests/auto-regress/bug487570.js Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,13 @@ +// |jit-test| error:TypeError + +// Binary: cache/js-dbg-32-86c8e18f20eb-linux +// Flags: +// +(function(){ + for each (var x in new ( + (function (){x})() + for each (y in []) + ) +) +{const functional} +})()