aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2012-11-02 21:41:42 +0000
committerRichard Trieu <rtrieu@google.com>2012-11-02 21:41:42 +0000
commiteacff03a37eaa984a2f72ae68281910fffea99b9 (patch)
treeb96197129b046b2cbc5c81f2fc6be0544ccecf52
parentd730705d448c184e73c14be22fccd05563399748 (diff)
Fix test cases I broken when fixing grammar in diagnostic message.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167320 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Parser/colon-colon-parentheses.cpp16
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;
}