wrap some long diagnostics, make 'initializer is not a constant' diagnostic
a bit more clear (rdar://5646070)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54606 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Sema/cxx-class.cpp b/test/Sema/cxx-class.cpp
index b7702dd..1fbff69 100644
--- a/test/Sema/cxx-class.cpp
+++ b/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;