diff options
Diffstat (limited to 'test/Sema/array-constraint.c')
-rw-r--r-- | test/Sema/array-constraint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/array-constraint.c b/test/Sema/array-constraint.c index d35b0acdfe..06b5d747ab 100644 --- a/test/Sema/array-constraint.c +++ b/test/Sema/array-constraint.c @@ -20,7 +20,7 @@ struct vari { int b[]; }; -struct vari *func(struct vari a[]) { // expected-error {{'struct vari' may not be used as an array element due to flexible array member}} +struct vari *func(struct vari a[]) { // expected-warning {{'struct vari' may not be used as an array element due to flexible array member}} return a; } |