diff options
Diffstat (limited to 'js/src/jit-test/tests/ion/bug767665.js')
-rw-r--r-- | js/src/jit-test/tests/ion/bug767665.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/ion/bug767665.js b/js/src/jit-test/tests/ion/bug767665.js new file mode 100644 index 000000000..01b378ff5 --- /dev/null +++ b/js/src/jit-test/tests/ion/bug767665.js @@ -0,0 +1,11 @@ +var failures = 0; +function a() { + return new Array(-1); +} +for (var j = 0; j < 61; ++j) { + try { + a(); + ++failures; + } catch (e) { + } +} |