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

Unified Diff: test/message/nf-yield-strict-in-generator.out

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-strict-in-generator.js ('k') | test/message/nfe-yield-generator.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/message/nf-yield-strict-in-generator.out
diff --git a/test/message/nf-yield-strict-in-generator.out b/test/message/nf-yield-strict-in-generator.out
new file mode 100644
index 0000000000000000000000000000000000000000..7f2a7596b38c23f6de1b092cf0b95cb6ec4628c2
--- /dev/null
+++ b/test/message/nf-yield-strict-in-generator.out
@@ -0,0 +1,4 @@
+*%(basename)s:7: SyntaxError: Unexpected strict mode reserved word
+ function yield() {}
+ ^^^^^
+SyntaxError: Unexpected strict mode reserved word
« no previous file with comments | « test/message/nf-yield-strict-in-generator.js ('k') | test/message/nfe-yield-generator.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698