summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug654392.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/auto-regress/bug654392.js')
-rw-r--r--js/src/jit-test/tests/auto-regress/bug654392.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/auto-regress/bug654392.js b/js/src/jit-test/tests/auto-regress/bug654392.js
new file mode 100644
index 000000000..ceae70f99
--- /dev/null
+++ b/js/src/jit-test/tests/auto-regress/bug654392.js
@@ -0,0 +1,15 @@
+// |jit-test| error:InternalError
+
+// Binary: cache/js-dbg-64-3062ff7fef83-linux
+// Flags: -m -n
+//
+function enterFunc (funcName) {}
+test();
+function test()
+{
+ enterFunc ( "NaN number", "'eeeefghi'.match(/e*/)", new test( "Date.prototype" ));
+ function err() {
+ return new Error();
+ }
+ var error = err(s,s,s,s);
+}