summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/unused-2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/unused-2.c')
-rw-r--r--gcc/testsuite/gcc.dg/unused-2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/unused-2.c b/gcc/testsuite/gcc.dg/unused-2.c
index f6464bd53b9..454606ec95e 100644
--- a/gcc/testsuite/gcc.dg/unused-2.c
+++ b/gcc/testsuite/gcc.dg/unused-2.c
@@ -3,7 +3,7 @@
by Alexandre Oliva <oliva@lsd.ic.unicamp.br> */
/* { dg-do compile } */
-/* { dg-options "-O2 -finline-functions -Wreturn-type" } */
+/* { dg-options "-O2 -finline-functions -Wunused -Wreturn-type" } */
static void
foo ()