summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug863261.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/ion/bug863261.js')
-rw-r--r--js/src/jit-test/tests/ion/bug863261.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/ion/bug863261.js b/js/src/jit-test/tests/ion/bug863261.js
new file mode 100644
index 0000000000..6e05f7be25
--- /dev/null
+++ b/js/src/jit-test/tests/ion/bug863261.js
@@ -0,0 +1,12 @@
+// |jit-test| error: InternalError: too much recursion
+function TestCase(d) {
+ toPrinted(d)
+}
+function toPrinted(value) {}
+function reportCompare (expected, actual, description) {
+ if (typeof description == "undefined")
+ toPrinted(expected);
+ new TestCase(description);
+ reportCompare();
+}
+reportCompare(Math['LN2'], Math['LN2'], 0);