summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/declspec-6.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/declspec-6.c')
-rw-r--r--gcc/testsuite/gcc.dg/declspec-6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/declspec-6.c b/gcc/testsuite/gcc.dg/declspec-6.c
index a20aa94cc80..40b77be7f96 100644
--- a/gcc/testsuite/gcc.dg/declspec-6.c
+++ b/gcc/testsuite/gcc.dg/declspec-6.c
@@ -2,7 +2,7 @@
-pedantic-errors. */
/* Origin: Joseph Myers <jsm@polyomino.org.uk> */
/* { dg-do compile } */
-/* { dg-options "-pedantic-errors" } */
+/* { dg-options "-std=gnu89 -pedantic-errors" } */
/* If a declaration does not declare a declarator, it must declare a
tag or the members of an enumeration, and must only contain one