]> granicus.if.org Git - clang/commitdiff
steve's recent changes fixed this bogus warning.
authorChris Lattner <sabre@nondot.org>
Sun, 26 Aug 2007 06:48:28 +0000 (06:48 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 26 Aug 2007 06:48:28 +0000 (06:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41432 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/array-constraint.c

index ed498419068fa6cf42ab097fabf537ac9952632e..fbd4b09b40e33f7cd1a3ef272af686abf102764a 100644 (file)
@@ -2,7 +2,7 @@
 
 struct s; 
 struct s* t (struct s z[]) {   // expected-error {{array has incomplete element type}}
-  return z;                    // expected-warning {{incompatible pointer type returning}}
+  return z;
 }
 
 void *k (void l[2]) {          // expected-error {{array has incomplete element type}}