test-parsing.cc: Test fix.

The syntax of this test snippet was so wrong ("function function") that it
wasn't testing what it was supposed to test.

R=rossberg@chromium.org
BUG=

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

Cr-Commit-Position: refs/heads/master@{#26433}
This commit is contained in:
marja 2015-02-04 08:31:36 -08:00 committed by Commit bot
parent 3b400fcb9b
commit 39010859f8

View File

@ -2246,8 +2246,8 @@ TEST(ErrorsNameOfStrictFunction) {
"interface() {\"use strict\";}",
"yield() {\"use strict\";}",
// Future reserved words are always illegal
"function super() { }",
"function super() {\"use strict\";}",
"super() { }",
"super() {\"use strict\";}",
NULL
};