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 8fa216d46a..7763e7923d 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 {{arrays with static storage duration must have constant integer length}} +typedef int TA[I]; // expected-error {{variable length array declaration not allowed in file scope}} void strFunc(char *); const char staticAry[] = "test"; |