aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/enum-compat-2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/enum-compat-2.c')
-rw-r--r--gcc/testsuite/gcc.dg/enum-compat-2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/enum-compat-2.c b/gcc/testsuite/gcc.dg/enum-compat-2.c
index 6950901..b42717e 100644
--- a/gcc/testsuite/gcc.dg/enum-compat-2.c
+++ b/gcc/testsuite/gcc.dg/enum-compat-2.c
@@ -3,7 +3,7 @@
/* Origin: Joseph Myers <jsm@polyomino.org.uk>, based on
PR c/6024 from Richard Earnshaw <rearnsha@arm.com> */
/* { dg-do compile } */
-/* { dg-options "" } */
+/* { dg-options "-std=gnu17" } */
/* Original test from PR c/6024. */
enum e1 {a, b};