]> granicus.if.org Git - clang/commitdiff
Fix test cases broken by quote normalization in diagnostics.
authorSebastian Redl <sebastian.redl@getdesigned.at>
Sat, 22 Nov 2008 22:39:41 +0000 (22:39 +0000)
committerSebastian Redl <sebastian.redl@getdesigned.at>
Sat, 22 Nov 2008 22:39:41 +0000 (22:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59888 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/init.c
test/SemaCXX/condition.cpp

index ff48b8f5286ea15e3a7f0306ada15f4ef2daa3c0..72586b13c48da954f8e5efcd2a3e430d71bebd98 100644 (file)
@@ -15,7 +15,7 @@ int *h = &x;
 
 int test() {
 int a[10];
-int b[10] = a; // expected-error {{initialization with "{...}" expected}}
+int b[10] = a; // expected-error {{initialization with '{...}' expected}}
 int +; // expected-error {{expected identifier or '('}} expected-error {{parse error}}
 }
 
index ee9cf1a37eae7e226e76b4a6e7159c7020928719..f4a6debd2dd822eeddc8afc995b59b609c48801c 100644 (file)
@@ -6,7 +6,7 @@ void test() {
   if (int x=0) ++x;
 
   typedef int arr[10];
-  while (arr x=0) ; // expected-error: {{an array type is not allowed here}} expected-error: {{initialization with "{...}" expected for array}}
+  while (arr x=0) ; // expected-error: {{an array type is not allowed here}} expected-error: {{initialization with '{...}' expected for array}}
   while (int f()=0) ; // expected-error: {{a function type is not allowed here}}
 
   struct S {} s;