Index: test/message/yield-in-arrow-param.out |
diff --git a/test/message/yield-in-arrow-param.out b/test/message/yield-in-arrow-param.out |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8eeb0df5f65f51a7355efce83cfb76e90d709ce9 |
--- /dev/null |
+++ b/test/message/yield-in-arrow-param.out |
@@ -0,0 +1,4 @@ |
+*%(basename)s:5: SyntaxError: Yield expression not allowed in formal parameter |
+function* g() { (a = yield) => {} } |
+ ^^^^^ |
+SyntaxError: Yield expression not allowed in formal parameter |