aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/noncompile/pr71265.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/noncompile/pr71265.c')
-rw-r--r--gcc/testsuite/gcc.dg/noncompile/pr71265.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/noncompile/pr71265.c b/gcc/testsuite/gcc.dg/noncompile/pr71265.c
index 9c62aab..69507b5 100644
--- a/gcc/testsuite/gcc.dg/noncompile/pr71265.c
+++ b/gcc/testsuite/gcc.dg/noncompile/pr71265.c
@@ -1,5 +1,6 @@
/* PR c/71265 */
/* { dg-do compile } */
+/* { dg-additional-options "-Wno-old-style-definition" } */
void ID (ID)
int ID [__func__]; /* { dg-error "size of array .ID. has non-integer type" } */