v8/test/message/nf-yield-strict-in-generator.out
caitpotter88 cacc6108d9 [tests] add tests for "yield" as function name
BUG=v8:3983
LOG=N
R=wingo@igalia.com, littledan@chromium.org

Review URL: https://codereview.chromium.org/1437803004

Cr-Commit-Position: refs/heads/master@{#32682}
2015-12-08 20:41:31 +00:00

5 lines
156 B
Plaintext

*%(basename)s:7: SyntaxError: Unexpected strict mode reserved word
function yield() {}
^^^^^
SyntaxError: Unexpected strict mode reserved word