Chromium Code Reviews| Index: test/cctest/test-parsing.cc |
| diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc |
| index 3556c649f11bcc9bfef78dbc70d1210749e22f97..732222d4ff2f51dc5c8f5bc49731be2d486f81e7 100644 |
| --- a/test/cctest/test-parsing.cc |
| +++ b/test/cctest/test-parsing.cc |
| @@ -3855,6 +3855,10 @@ TEST(ClassStaticPrototypeErrors) { |
| "static get prototype() {}", |
| "static set prototype(_) {}", |
| "static *prototype() {}", |
| + "static 'prot\u006ftype'() {}", |
| + "static get 'prot\u006ftype'() {}", |
| + "static set 'prot\u006ftype'(_) {}", |
| + "static *'prot\u006ftype'() {}", |
|
arv (Not doing code reviews)
2014/10/01 21:49:56
One more case:
"static prot\u006ftype() {}",
...
|
| NULL}; |
| static const ParserFlag always_flags[] = { |
| @@ -3875,6 +3879,9 @@ TEST(ClassSpecialConstructorErrors) { |
| "get constructor() {}", |
| "get constructor(_) {}", |
| "*constructor() {}", |
| + "get 'c\u006fnstructor'() {}", |
| + "get 'c\u006fnstructor'(_) {}", |
| + "*'c\u006fnstructor'() {}", |
| NULL}; |
| static const ParserFlag always_flags[] = { |