aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/old-style-prom-3.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/old-style-prom-3.c')
-rw-r--r--gcc/testsuite/gcc.dg/old-style-prom-3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/old-style-prom-3.c b/gcc/testsuite/gcc.dg/old-style-prom-3.c
index 720367f..e84b39b 100644
--- a/gcc/testsuite/gcc.dg/old-style-prom-3.c
+++ b/gcc/testsuite/gcc.dg/old-style-prom-3.c
@@ -1,7 +1,7 @@
/* Test for prototype followed by old-style definition, as in
dremf-type-compat-3.c but with a non-built-in function. */
/* { dg-do compile } */
-/* { dg-options "-pedantic-errors" } */
+/* { dg-options "-std=gnu17 -pedantic-errors" } */
float f (float, float); /* { dg-error "prototype declaration" } */