| Index: test/mjsunit/harmony/new-target.js
|
| diff --git a/test/mjsunit/harmony/new-target.js b/test/mjsunit/harmony/new-target.js
|
| index a1f020b00546bfa54c740fb17da35261aec8231d..d98f5f809860d2e9854aeb18326593ec6af1fce9 100644
|
| --- a/test/mjsunit/harmony/new-target.js
|
| +++ b/test/mjsunit/harmony/new-target.js
|
| @@ -394,5 +394,5 @@
|
| assertThrows(function() { Function("--new.target"); }, ReferenceError);
|
| assertThrows(function() { Function("(new.target)++"); }, ReferenceError);
|
| assertThrows(function() { Function("++(new.target)"); }, ReferenceError);
|
| - assertThrows(function() { Function("for (new.target of {});"); }, ReferenceError);
|
| + assertThrows(function() { Function("for (new.target of {});"); }, SyntaxError);
|
| })();
|
|
|