Add -Wunused to dg-options
authorZack Weinberg <zack@gcc.gnu.org>
Wed, 2 Feb 2000 21:43:17 +0000 (21:43 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Wed, 2 Feb 2000 21:43:17 +0000 (21:43 +0000)
From-SVN: r31764

gcc/testsuite/gcc.dg/unused-2.c

index f6464bd53b990b8b7c45c8a0178eaf127e775366..454606ec95ee3760b966865892e068e25ff58ef4 100644 (file)
@@ -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 ()