Index: test/mjsunit/regress/regress-633998.js |
diff --git a/test/message/arrow-missing.js b/test/mjsunit/regress/regress-633998.js |
similarity index 72% |
copy from test/message/arrow-missing.js |
copy to test/mjsunit/regress/regress-633998.js |
index b9f9acd05c48ab3953d2a052efc3837b474fb88f..1fd71a9d960d1e2ba8bd16985272606799a83ea2 100644 |
--- a/test/message/arrow-missing.js |
+++ b/test/mjsunit/regress/regress-633998.js |
@@ -1,7 +1,7 @@ |
// Copyright 2015 the V8 project authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-// |
-// |
-function foo() { return(); } |
+error = new Error(); |
+error.name = error; |
+Reflect.apply(error); |