diff options
Diffstat (limited to 'js/src/jit-test/tests/auto-regress/bug697255.js')
-rw-r--r-- | js/src/jit-test/tests/auto-regress/bug697255.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/auto-regress/bug697255.js b/js/src/jit-test/tests/auto-regress/bug697255.js new file mode 100644 index 0000000000..b9f0cae0d2 --- /dev/null +++ b/js/src/jit-test/tests/auto-regress/bug697255.js @@ -0,0 +1,12 @@ +// Binary: cache/js-dbg-32-6cd262091470-linux +// Flags: -j +// +a = evalcx("lazy"); +b = {} +b.__proto__ = a +a.__proto__ = String +for (var a = 0; a < 50; a++) { + try { + b + "" + } catch (e) {} +} |