Downgrade the "excess elements in initializer" errors to warnings *in
C*. They're required errors in C++.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64964 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Sema/flexible-array-init.c b/test/Sema/flexible-array-init.c
index 909b856..fff5fee 100644
--- a/test/Sema/flexible-array-init.c
+++ b/test/Sema/flexible-array-init.c
@@ -4,7 +4,7 @@
int values[];
} x = {5, {1, 2, 3}};
-struct one x2 = { 5, 1, 2, 3 }; // expected-error{{excess elements in struct initializer}}
+struct one x2 = { 5, 1, 2, 3 }; // expected-warning{{excess elements in struct initializer}}
void test() {
struct one x3 = {5, {1, 2, 3}};