[cfe-commits] r167320 - /cfe/trunk/test/Parser/colon-colon-parentheses.cpp
Richard Trieu
rtrieu at google.com
Fri Nov 2 14:41:42 PDT 2012
Author: rtrieu
Date: Fri Nov 2 16:41:42 2012
New Revision: 167320
URL: http://llvm.org/viewvc/llvm-project?rev=167320&view=rev
Log:
Fix test cases I broken when fixing grammar in diagnostic message.
Modified:
cfe/trunk/test/Parser/colon-colon-parentheses.cpp
Modified: cfe/trunk/test/Parser/colon-colon-parentheses.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/colon-colon-parentheses.cpp?rev=167320&r1=167319&r2=167320&view=diff
==============================================================================
--- cfe/trunk/test/Parser/colon-colon-parentheses.cpp (original)
+++ cfe/trunk/test/Parser/colon-colon-parentheses.cpp Fri Nov 2 16:41:42 2012
@@ -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;
}
More information about the cfe-commits
mailing list