diff options
Diffstat (limited to 'js/src/jit-test/tests/auto-regress/bug521169.js')
-rw-r--r-- | js/src/jit-test/tests/auto-regress/bug521169.js | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/auto-regress/bug521169.js b/js/src/jit-test/tests/auto-regress/bug521169.js new file mode 100644 index 000000000..093e86c18 --- /dev/null +++ b/js/src/jit-test/tests/auto-regress/bug521169.js @@ -0,0 +1,19 @@ +// Binary: cache/js-dbg-64-c08baee44cf4-linux +// Flags: -j +// +try { + with({ + x: (function f(a) { + f(1) + })() + }) {} +} catch(e) {} +for each(x in ["", true]) { + for (b = 0; b < 4; ++b) { + if (b % 2 == 0) { + (function () {})() + } { + gc() + } + } +} |