Index: test/mjsunit/ignition/regress-599068-func-bindings.js |
diff --git a/test/message/arrow-invalid-rest-2.js b/test/mjsunit/ignition/regress-599068-func-bindings.js |
similarity index 60% |
copy from test/message/arrow-invalid-rest-2.js |
copy to test/mjsunit/ignition/regress-599068-func-bindings.js |
index 3517803d30256b09e78a1aa1f43817e733dc060e..156e829889b89d0fcbf3dd78fa07368ef6ad87dc 100644 |
--- a/test/message/arrow-invalid-rest-2.js |
+++ b/test/mjsunit/ignition/regress-599068-func-bindings.js |
@@ -1,8 +1,10 @@ |
// Copyright 2016 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. |
-// |
-// |
-var f = (a, ...x = 10) => x; |
-f(1, 2, 3, 4, 5); |
+(function encodeURI() { |
+ function Func() { |
+ 'use strict'; |
+ encodeURI += 'function'; |
Michael Starzinger
2016/04/01 13:29:13
Maybe I am missing something here, but this should
|
+ } |
+})(); |