diff options
author | Anders Carlsson <andersca@mac.com> | 2008-12-07 00:20:55 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2008-12-07 00:20:55 +0000 |
commit | 96e05bc09070aaa7c18d3dd3ff13125a43532f69 (patch) | |
tree | fd011b20fafbe130808d2038f5e6c022e5c7ace7 /test/Sema/typedef-variable-type.c | |
parent | 5dd412901196305e7c6dd053880f711ca5419763 (diff) |
Improve VLA diagnostics/sema checking. Fixes PR2361 and PR2352.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60638 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/typedef-variable-type.c')
-rw-r--r-- | test/Sema/typedef-variable-type.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/typedef-variable-type.c b/test/Sema/typedef-variable-type.c index 4ced926264..346117ef18 100644 --- a/test/Sema/typedef-variable-type.c +++ b/test/Sema/typedef-variable-type.c @@ -1,3 +1,3 @@ // RUN: clang %s -verify -fsyntax-only -pedantic -typedef int (*a)[!.0]; // expected-error{{arrays with static storage duration must have constant integer length}} +typedef int (*a)[!.0]; // expected-error{{variably modified type declaration not allowed in file scope}} |