Index: test/mjsunit/regress/property-descriptor-to-object.js |
diff --git a/test/message/arrow-param-after-rest-2.js b/test/mjsunit/regress/property-descriptor-to-object.js |
similarity index 56% |
copy from test/message/arrow-param-after-rest-2.js |
copy to test/mjsunit/regress/property-descriptor-to-object.js |
index c01cec8ad4f412c97797e07e946d1730a6513bcc..e47d5a5b4deb261933b6e9df86e3eebaea3736e0 100644 |
--- a/test/message/arrow-param-after-rest-2.js |
+++ b/test/mjsunit/regress/property-descriptor-to-object.js |
@@ -1,7 +1,8 @@ |
// 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. |
-// |
-// Flags: --harmony-rest-parameters |
-(w, ...x, y) => 10 |
+var o = { prop: 1 }; |
+Object.prototype.value = 0; |
+var d = Object.getOwnPropertyDescriptor(o, "prop"); |
+assertEquals(1, d.value); |