diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/pr20368-2.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/pr20368-2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/pr20368-2.c b/gcc/testsuite/gcc.dg/pr20368-2.c index 7faded6..3ca5f63 100644 --- a/gcc/testsuite/gcc.dg/pr20368-2.c +++ b/gcc/testsuite/gcc.dg/pr20368-2.c @@ -1,7 +1,7 @@ /* ICE with -Wstrict-prototypes and typeof an undeclared function. Bug 20368. Test with -Wmissing-prototypes. */ /* { dg-do compile } */ -/* { dg-options "-Wmissing-prototypes" } */ +/* { dg-options "-std=gnu17 -Wmissing-prototypes" } */ extern __typeof (f) g; /* { dg-error "'f' undeclared here \\(not in a function\\)" } */ |