Fix test cases broken by quote normalization in diagnostics.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59888 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Sema/init.c b/test/Sema/init.c
index ff48b8f..72586b1 100644
--- a/test/Sema/init.c
+++ b/test/Sema/init.c
@@ -15,7 +15,7 @@
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}}
}
diff --git a/test/SemaCXX/condition.cpp b/test/SemaCXX/condition.cpp
index ee9cf1a..f4a6deb 100644
--- a/test/SemaCXX/condition.cpp
+++ b/test/SemaCXX/condition.cpp
@@ -6,7 +6,7 @@
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;