aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/array-constraint.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-08-02 22:41:43 +0000
committerChris Lattner <sabre@nondot.org>2007-08-02 22:41:43 +0000
commitf13ebf03b744386649c869014a6b4cf657144ebd (patch)
treef207422801a02bbfc7332561224fb6992d8bcc84 /test/Sema/array-constraint.c
parent6f66c26c9482d049375312f9dad2b7f7c18c4cc2 (diff)
oops, this is the real fix.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@40766 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 0369eaef1e..ed49841906 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-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}}