OSDN Git Service

2007-07-06 Josh Conner <jconner@apple.com>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / unused-2.c
index cc45dc9..454606e 100644 (file)
@@ -3,12 +3,12 @@
    by Alexandre Oliva  <oliva@lsd.ic.unicamp.br>  */
 
 /* { dg-do compile } */
-/* { dg-options "-O2 -finline-functions -Wall" } */
+/* { dg-options "-O2 -finline-functions -Wunused -Wreturn-type" } */
 
 static void
 foo ()
 {
-  skip_it: ; /* { dg-warning "unused label" "unused label warning" } */
+  skip_it: ; /* { dg-warning "defined but not used" "unused label warning" } */
 }
 
 void