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

Chris Lattner sabre at nondot.org
Thu Aug 2 15:41:43 PDT 2007


Author: lattner
Date: Thu Aug  2 17:41:43 2007
New Revision: 40766

URL: http://llvm.org/viewvc/llvm-project?rev=40766&view=rev
Log:
oops, this is the real fix.

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=40766&r1=40765&r2=40766&view=diff

==============================================================================
--- cfe/trunk/test/Sema/array-constraint.c (original)
+++ cfe/trunk/test/Sema/array-constraint.c Thu Aug  2 17:41:43 2007
@@ -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}}





More information about the cfe-commits mailing list