]> granicus.if.org Git - clang/commitdiff
Fix test cases I broken when fixing grammar in diagnostic message.
authorRichard Trieu <rtrieu@google.com>
Fri, 2 Nov 2012 21:41:42 +0000 (21:41 +0000)
committerRichard Trieu <rtrieu@google.com>
Fri, 2 Nov 2012 21:41:42 +0000 (21:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167320 91177308-0d34-0410-b5e6-96231b3b80d8

test/Parser/colon-colon-parentheses.cpp

index e837bd9f43343a01bb80eaa112e761bc3be4bbab..55948fdb0051cdf3521e8383129e8d1f4a43244c 100644 (file)
@@ -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;
 }