v8/test/message/nf-yield-strict.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
167 B
Plaintext

*%(basename)s:5: SyntaxError: Unexpected strict mode reserved word
function yield() { "use strict"; }
^^^^^
SyntaxError: Unexpected strict mode reserved word