js/src/jit-test/tests/auto-regress/bug479747.js

branch
TOR_BUG_3246
changeset 7
129ffea94266
equal deleted inserted replaced
-1:000000000000 0:58d2e105d2d1
1 // |jit-test| error:TypeError
2
3 // Binary: cache/js-dbg-32-9174e1bbfa9f-linux
4 // Flags: -j
5 //
6 'a'.replace(/a/g, [].push);
7 x = [];
8 x++;
9 (function(){ eval("for(let y in []) [][x]"); })();

mercurial