From: Chris Lattner Date: Thu, 2 Aug 2007 22:41:43 +0000 (+0000) Subject: oops, this is the real fix. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f13ebf03b744386649c869014a6b4cf657144ebd;p=clang oops, this is the real fix. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@40766 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Sema/array-constraint.c b/test/Sema/array-constraint.c index 0369eaef1e..ed49841906 100644 --- a/test/Sema/array-constraint.c +++ b/test/Sema/array-constraint.c @@ -2,7 +2,7 @@ struct s; struct s* t (struct s z[]) { // expected-error {{array has incomplete element type}} - return z; // expected-error {{incompatible pointer type returning}} + return z; // expected-warning {{incompatible pointer type returning}} } void *k (void l[2]) { // expected-error {{array has incomplete element type}}