Index: test/message/yield-in-generator-param.out |
diff --git a/test/message/yield-in-generator-param.out b/test/message/yield-in-generator-param.out |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ec46f478c9ee2204dced295013ef891cad786cd0 |
--- /dev/null |
+++ b/test/message/yield-in-generator-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 |