diff --git a/js/src/jit-test/tests/basic/bug727921.js b/js/src/jit-test/tests/basic/bug727921.js new file mode 100644 index 000000000000..88e6773a7dfa --- /dev/null +++ b/js/src/jit-test/tests/basic/bug727921.js @@ -0,0 +1,10 @@ +(function() { + let(d) { + yield + } +})() +eval("\ + (function(){\ + schedulegc(5), 'a'.replace(/a/,function(){yield})\ + })\ +")()