aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/array-constraint.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-08-02 22:36:03 +0000
committerChris Lattner <sabre@nondot.org>2007-08-02 22:36:03 +0000
commit6f66c26c9482d049375312f9dad2b7f7c18c4cc2 (patch)
tree3b43ca3e688b7a71ca1adf28b002486d4e83124c /test/Sema/array-constraint.c
parent88dca0464804b8b26ae605f89784c927e8493ddd (diff)
update test
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@40765 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 4b70bb9bb3..0369eaef1e 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;
+ return z; // expected-error {{incompatible pointer type returning}}
}
void *k (void l[2]) { // expected-error {{array has incomplete element type}}