summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/parser/yield-in-formal-destructuring.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/parser/yield-in-formal-destructuring.js')
-rw-r--r--js/src/jit-test/tests/parser/yield-in-formal-destructuring.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/parser/yield-in-formal-destructuring.js b/js/src/jit-test/tests/parser/yield-in-formal-destructuring.js
new file mode 100644
index 0000000000..08e4ed5fd8
--- /dev/null
+++ b/js/src/jit-test/tests/parser/yield-in-formal-destructuring.js
@@ -0,0 +1 @@
+function d([{ [yield]: {} } ]) { f }