aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/array-constraint.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-08-26 06:48:28 +0000
committerChris Lattner <sabre@nondot.org>2007-08-26 06:48:28 +0000
commitce7f4cc77f00a4e591596790cf9588e4daf71534 (patch)
treeea157dd8b93be26ac7928371ce8902e653a3e568 /test/Sema/array-constraint.c
parent31e057270232c1c37602579cb6461c2704175672 (diff)
steve's recent changes fixed this bogus warning.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41432 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/array-constraint.c')
-rw-r--r--test/Sema/array-constraint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/array-constraint.c b/test/Sema/array-constraint.c
index ed49841906..fbd4b09b40 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-warning {{incompatible pointer type returning}}
+ return z;
}
void *k (void l[2]) { // expected-error {{array has incomplete element type}}