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

Chris Lattner sabre at nondot.org
Thu Aug 2 15:36:03 PDT 2007


Author: lattner
Date: Thu Aug  2 17:36:03 2007
New Revision: 40765

URL: http://llvm.org/viewvc/llvm-project?rev=40765&view=rev
Log:
update test

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

==============================================================================
--- cfe/trunk/test/Sema/array-constraint.c (original)
+++ cfe/trunk/test/Sema/array-constraint.c Thu Aug  2 17:36:03 2007
@@ -2,7 +2,7 @@
 
 struct s; 
 struct s* t (struct s z[]) {   // expected-error {{array has incomplete element type}}
-  return z; 
+  return z;                    // expected-error {{incompatible pointer type returning}}
 }
 
 void *k (void l[2]) {          // expected-error {{array has incomplete element type}}





More information about the cfe-commits mailing list