summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug510644.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/auto-regress/bug510644.js')
-rw-r--r--js/src/jit-test/tests/auto-regress/bug510644.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/auto-regress/bug510644.js b/js/src/jit-test/tests/auto-regress/bug510644.js
new file mode 100644
index 000000000..f2cf393a6
--- /dev/null
+++ b/js/src/jit-test/tests/auto-regress/bug510644.js
@@ -0,0 +1,13 @@
+// Binary: cache/js-dbg-32-d56149240ef8-linux
+// Flags: -j
+//
+function foo(f) {
+ f()
+}
+foo((eval("\
+ (function () {\
+ for each(l in [0, 0xB504F332, 0]) {\
+ for (d in Error()) {}\
+ }\
+ })\
+")))