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