aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/qual-component-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/qual-component-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/qual-component-1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/qual-component-1.c b/gcc/testsuite/gcc.dg/qual-component-1.c
index 4eaa71a..f2043ce 100644
--- a/gcc/testsuite/gcc.dg/qual-component-1.c
+++ b/gcc/testsuite/gcc.dg/qual-component-1.c
@@ -3,7 +3,7 @@
union. Bug 27697 from Frank Victor Fischer. */
/* Origin: Joseph Myers <joseph@codesourcery.com> */
/* { dg-do compile } */
-/* { dg-options "-pedantic -Wdiscarded-array-qualifiers" } */
+/* { dg-options "-std=gnu17 -pedantic -Wdiscarded-array-qualifiers" } */
struct s {
int a;