| Index: test/cctest/test-parsing.cc
|
| diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc
|
| index 3556c649f11bcc9bfef78dbc70d1210749e22f97..2fac4d30315144847d603bb425991d93b6706f27 100644
|
| --- a/test/cctest/test-parsing.cc
|
| +++ b/test/cctest/test-parsing.cc
|
| @@ -3855,6 +3855,13 @@ TEST(ClassStaticPrototypeErrors) {
|
| "static get prototype() {}",
|
| "static set prototype(_) {}",
|
| "static *prototype() {}",
|
| + "static 'prototype'() {}",
|
| + "static *'prototype'() {}",
|
| + "static prot\u006ftype() {}",
|
| + "static 'prot\u006ftype'() {}",
|
| + "static get 'prot\u006ftype'() {}",
|
| + "static set 'prot\u006ftype'(_) {}",
|
| + "static *'prot\u006ftype'() {}",
|
| NULL};
|
|
|
| static const ParserFlag always_flags[] = {
|
| @@ -3875,6 +3882,13 @@ TEST(ClassSpecialConstructorErrors) {
|
| "get constructor() {}",
|
| "get constructor(_) {}",
|
| "*constructor() {}",
|
| + "get 'constructor'() {}",
|
| + "*'constructor'() {}",
|
| + "get c\u006fnstructor() {}",
|
| + "*c\u006fnstructor() {}",
|
| + "get 'c\u006fnstructor'() {}",
|
| + "get 'c\u006fnstructor'(_) {}",
|
| + "*'c\u006fnstructor'() {}",
|
| NULL};
|
|
|
| static const ParserFlag always_flags[] = {
|
|
|