diff options
-rw-r--r-- | test/Parser/colon-colon-parentheses.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/Parser/colon-colon-parentheses.cpp b/test/Parser/colon-colon-parentheses.cpp index e837bd9f43..55948fdb00 100644 --- a/test/Parser/colon-colon-parentheses.cpp +++ b/test/Parser/colon-colon-parentheses.cpp @@ -4,19 +4,19 @@ // RUN: %clang_cc1 -x c++ %t struct S { static int a,b,c;}; -int S::(a); // expected-error{{unexpected parentheses after '::'}} -int S::(b; // expected-error{{unexpected parentheses after '::'}} +int S::(a); // expected-error{{unexpected parenthesis after '::'}} +int S::(b; // expected-error{{unexpected parenthesis after '::'}} int S::c; -int S::(*d); // expected-error{{unexpected parentheses after '::'}} -int S::(*e; // expected-error{{unexpected parentheses after '::'}} +int S::(*d); // expected-error{{unexpected parenthesis after '::'}} +int S::(*e; // expected-error{{unexpected parenthesis after '::'}} int S::*f; -int g = S::(a); // expected-error{{unexpected parentheses after '::'}} -int h = S::(b; // expected-error{{unexpected parentheses after '::'}} +int g = S::(a); // expected-error{{unexpected parenthesis after '::'}} +int h = S::(b; // expected-error{{unexpected parenthesis after '::'}} int i = S::c; void foo() { int a; - a = ::(g); // expected-error{{unexpected parentheses after '::'}} - a = ::(h; // expected-error{{unexpected parentheses after '::'}} + a = ::(g); // expected-error{{unexpected parenthesis after '::'}} + a = ::(h; // expected-error{{unexpected parenthesis after '::'}} a = ::i; } |