commit | d1969d803cfcc65f1c334df4cc89c7fdd33ee4c9 | [log] [tgz] |
---|---|---|
author | Mike Stump <mrs@apple.com> | Wed Jul 22 00:43:08 2009 +0000 |
committer | Mike Stump <mrs@apple.com> | Wed Jul 22 00:43:08 2009 +0000 |
tree | 38190e8ec425fd224704ed136bc0dc26470f3af0 | |
parent | cf1831204b2b575fc57b851172f0426559ae482c [diff] [blame] |
Prep for new warning. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76709 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Sema/array-constraint.c b/test/Sema/array-constraint.c index 5a09e20..6407b5d 100644 --- a/test/Sema/array-constraint.c +++ b/test/Sema/array-constraint.c
@@ -45,7 +45,7 @@ void strFunc(char *); const char staticAry[] = "test"; -int checkStaticAry() { +void checkStaticAry() { strFunc(staticAry); // expected-warning{{passing 'char const [5]' discards qualifiers, expected 'char *'}} }