wrap some long diagnostics, make 'initializer is not a constant' diagnostic
a bit more clear (rdar://5646070)
llvm-svn: 54606
diff --git a/clang/test/Sema/cxx-class.cpp b/clang/test/Sema/cxx-class.cpp
index b7702dd..1fbff69 100644
--- a/clang/test/Sema/cxx-class.cpp
+++ b/clang/test/Sema/cxx-class.cpp
@@ -34,7 +34,7 @@
int i = 0; // expected-error {{error: 'i' can only be initialized if it is a static const integral data member}}
static int si = 0; // expected-error {{error: 'si' can only be initialized if it is a static const integral data member}}
static const NestedC ci = 0; // expected-error {{error: 'ci' can only be initialized if it is a static const integral data member}}
- static const int nci = vs; // expected-error {{error: initializer element is not constant}}
+ static const int nci = vs; // expected-error {{error: initializer element is not a compile-time constant}}
static const int vi = 0;
static const E evi = 0;