summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/parser/bug-1263355-49.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/parser/bug-1263355-49.js')
-rw-r--r--js/src/jit-test/tests/parser/bug-1263355-49.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/parser/bug-1263355-49.js b/js/src/jit-test/tests/parser/bug-1263355-49.js
new file mode 100644
index 000000000..e5fad3532
--- /dev/null
+++ b/js/src/jit-test/tests/parser/bug-1263355-49.js
@@ -0,0 +1,4 @@
+load(libdir + "iteration.js");
+function* f4(get = [1], f2, ...each) {}
+it = f4();
+assertIteratorResult(it.return(2), 2, true);