diff options
Diffstat (limited to 'js/src/jit-test/tests/auto-regress/bug655950.js')
-rw-r--r-- | js/src/jit-test/tests/auto-regress/bug655950.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/auto-regress/bug655950.js b/js/src/jit-test/tests/auto-regress/bug655950.js new file mode 100644 index 000000000..21629924f --- /dev/null +++ b/js/src/jit-test/tests/auto-regress/bug655950.js @@ -0,0 +1,13 @@ +// Binary: cache/js-dbg-32-32e8c937a409-linux +// Flags: -m -n +// +function f() { + try { + (new { + x: function() {} + }.x)(); + } catch (e) {} +} +for (var i = 0; i<10000; i++) { + f(); +} |