summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/test/Sema/array-constraint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/array-constraint.c b/clang/test/Sema/array-constraint.c
index 0369eaef1e8..ed498419068 100644
--- a/clang/test/Sema/array-constraint.c
+++ b/clang/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}}
OpenPOWER on IntegriCloud