summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/cxx-class.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Sema/cxx-class.cpp')
-rw-r--r--clang/test/Sema/cxx-class.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/cxx-class.cpp b/clang/test/Sema/cxx-class.cpp
index b7702dd24ac..1fbff69cb58 100644
--- a/clang/test/Sema/cxx-class.cpp
+++ b/clang/test/Sema/cxx-class.cpp
@@ -34,7 +34,7 @@ public:
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;
OpenPOWER on IntegriCloud