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/static-init.c b/test/Sema/static-init.c
index 2439d5e..2f13800 100644
--- a/test/Sema/static-init.c
+++ b/test/Sema/static-init.c
@@ -1,7 +1,7 @@
// RUN: clang -fsyntax-only -verify %s
static int f = 10;
-static int b = f; // expected-error {{initializer element is not constant}}
+static int b = f; // expected-error {{initializer element is not a compile-time constant}}
-float r = (float) &r; // expected-error {{initializer element is not constant}}
+float r = (float) &r; // expected-error {{initializer element is not a compile-time constant}}
long long s = (long long) &s;
_Bool t = &t;