Index: test/message/formal-parameters-bad-rest.js |
diff --git a/test/message/import-as-eval.js b/test/message/formal-parameters-bad-rest.js |
similarity index 70% |
copy from test/message/import-as-eval.js |
copy to test/message/formal-parameters-bad-rest.js |
index 66adc32cbe435b8cbaf451e1373520a5edea2663..c67e1de93fed808fb0578e9029dabef201ab51e4 100644 |
--- a/test/message/import-as-eval.js |
+++ b/test/message/formal-parameters-bad-rest.js |
@@ -2,6 +2,6 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
// |
-// MODULE |
+// Flags: --harmony-rest-parameters |
-import { foo as eval } from "mod"; |
+function foo(...b, a) { return a } |