aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/array-constraint.c
diff options
context:
space:
mode:
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}}