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

Unified Diff: test/message/nf-yield-strict.js

Issue 1437803004: [tests] add tests for "yield" as function name (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove parser changes Created 5 years 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/message/nf-yield-in-generator.out ('k') | test/message/nf-yield-strict.out » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/message/nf-yield-strict.js
diff --git a/test/message/const-decl-no-init.js b/test/message/nf-yield-strict.js
similarity index 82%
copy from test/message/const-decl-no-init.js
copy to test/message/nf-yield-strict.js
index 7a47a1319a97c5085b411292e326102abfdcb548..d959a2164e20dc917f9d106029c8da1f2d307a6b 100644
--- a/test/message/const-decl-no-init.js
+++ b/test/message/nf-yield-strict.js
@@ -2,5 +2,4 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-'use strict';
-const a;
+function yield() { "use strict"; }
« no previous file with comments | « test/message/nf-yield-in-generator.out ('k') | test/message/nf-yield-strict.out » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698