diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/old-style-prom-2.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/old-style-prom-2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/old-style-prom-2.c b/gcc/testsuite/gcc.dg/old-style-prom-2.c index e7e690e..4a1283b 100644 --- a/gcc/testsuite/gcc.dg/old-style-prom-2.c +++ b/gcc/testsuite/gcc.dg/old-style-prom-2.c @@ -1,7 +1,7 @@ /* Test for prototype followed by old-style definition, as in dremf-type-compat-2.c but with a non-built-in function. */ /* { dg-do compile } */ -/* { dg-options "-pedantic" } */ +/* { dg-options "-std=gnu17 -pedantic" } */ float f (float, float); /* { dg-warning "prototype declaration" } */ |