Improve on flexible array diagnostics (PR7029).
llvm-svn: 104739
diff --git a/clang/test/SemaCXX/flexible-array-test.cpp b/clang/test/SemaCXX/flexible-array-test.cpp
index e58992b..02e3f83 100644
--- a/clang/test/SemaCXX/flexible-array-test.cpp
+++ b/clang/test/SemaCXX/flexible-array-test.cpp
@@ -41,5 +41,5 @@
struct X {
int blah;
- S strings[]; // expected-error {{flexible array 'strings' must have a non-dependent, non-POD type}}
+ S strings[]; // expected-error {{flexible array member 'strings' of non-POD element type 'S []'}}
};