From 1c2d5f56f855a77ba06026e875bae280a062a6c2 Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Tue, 27 May 2008 02:01:50 +0000 Subject: Change diagnostic per suggestion, to make it a bit clearer what is happening. llvm-svn: 51574 --- clang/test/Sema/array-constraint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/test/Sema/array-constraint.c') diff --git a/clang/test/Sema/array-constraint.c b/clang/test/Sema/array-constraint.c index 3ed5215accb..8fa216d46a1 100644 --- a/clang/test/Sema/array-constraint.c +++ b/clang/test/Sema/array-constraint.c @@ -41,7 +41,7 @@ void check_size() { } static int I; -typedef int TA[I]; // expected-error {{variable length array declared outside of any function}} +typedef int TA[I]; // expected-error {{arrays with static storage duration must have constant integer length}} void strFunc(char *); const char staticAry[] = "test"; -- cgit v1.2.3