Index: test/message/new-target-for-loop.out |
diff --git a/test/message/new-target-for-loop.out b/test/message/new-target-for-loop.out |
new file mode 100644 |
index 0000000000000000000000000000000000000000..30f1f75d7e33b048904cf242b32f14e510a1ed1a |
--- /dev/null |
+++ b/test/message/new-target-for-loop.out |
@@ -0,0 +1,4 @@ |
+*%(basename)s:7: ReferenceError: Invalid left-hand side in for-loop |
+function f() { for (new.target in {}); } |
+ ^^^^^^^^^^ |
+ReferenceError: Invalid left-hand side in for-loop |