[cfe-commits] r41432 - /cfe/trunk/test/Sema/array-constraint.c

Chris Lattner sabre at nondot.org
Sat Aug 25 23:48:28 PDT 2007


Author: lattner
Date: Sun Aug 26 01:48:28 2007
New Revision: 41432

URL: http://llvm.org/viewvc/llvm-project?rev=41432&view=rev
Log:
steve's recent changes fixed this bogus warning.

Modified:
    cfe/trunk/test/Sema/array-constraint.c

Modified: cfe/trunk/test/Sema/array-constraint.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/array-constraint.c?rev=41432&r1=41431&r2=41432&view=diff

==============================================================================
--- cfe/trunk/test/Sema/array-constraint.c (original)
+++ cfe/trunk/test/Sema/array-constraint.c Sun Aug 26 01:48:28 2007
@@ -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}}





More information about the cfe-commits mailing list