diff options
Diffstat (limited to 'test/Sema/array-constraint.c')
-rw-r--r-- | test/Sema/array-constraint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/array-constraint.c b/test/Sema/array-constraint.c index 3ed5215acc..8fa216d46a 100644 --- a/test/Sema/array-constraint.c +++ b/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"; |