Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(591)

Unified Diff: test/message/no-legacy-const.js

Issue 1218803006: Add a flag for legacy const semantics (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add message tests Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/cctest/test-parsing.cc ('k') | test/message/no-legacy-const.out » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/message/no-legacy-const.js
diff --git a/test/message/import-reserved-word.js b/test/message/no-legacy-const.js
similarity index 80%
copy from test/message/import-reserved-word.js
copy to test/message/no-legacy-const.js
index 1fd7ba291e7f64b41c183223bff35381b6621e27..ecad2181b889f74d20a2cb8f943e05dd53e38ede 100644
--- a/test/message/import-reserved-word.js
+++ b/test/message/no-legacy-const.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: --no-legacy-const
-import { import } from "mod";
+const x = 42;
« no previous file with comments | « test/cctest/test-parsing.cc ('k') | test/message/no-legacy-const.out » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698