v8/test/message/no-legacy-const.out
arv 3973642c98 Add a flag for legacy const semantics
This flag is on by default but it will allow us to turn that off in
favor of harmony-sloppy in the future.

BUG=v8:3305, v8:2198
LOG=N
R=littledan@chromium.org, rossberg@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#29526}
2015-07-07 21:57:19 +00:00

6 lines
110 B
Plaintext

*%(basename)s:7: SyntaxError: Unexpected token const
const x = 42;
^^^^^
SyntaxError: Unexpected token const