diff options
author | Mike Stump <mrs@apple.com> | 2009-07-22 00:43:08 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-07-22 00:43:08 +0000 |
commit | d1969d803cfcc65f1c334df4cc89c7fdd33ee4c9 (patch) | |
tree | 38190e8ec425fd224704ed136bc0dc26470f3af0 /test/Sema/array-constraint.c | |
parent | cf1831204b2b575fc57b851172f0426559ae482c (diff) |
Prep for new warning.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76709 91177308-0d34-0410-b5e6-96231b3b80d8
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 5a09e20ecb..6407b5daf5 100644 --- a/test/Sema/array-constraint.c +++ b/test/Sema/array-constraint.c @@ -45,7 +45,7 @@ typedef int TA[I]; // expected-error {{variable length array declaration not all void strFunc(char *); const char staticAry[] = "test"; -int checkStaticAry() { +void checkStaticAry() { strFunc(staticAry); // expected-warning{{passing 'char const [5]' discards qualifiers, expected 'char *'}} } |