OSDN Git Service

2004-05-20 H.J. Lu <hongjiu.lu@intel.com>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / Wshadow-1.c
index c9c3acb..c4553a4 100644 (file)
@@ -10,7 +10,7 @@ void foo (double decl1)               /* { dg-warning "shadows a global decl" } */
 {                              
 }
 
-void foo1 (int d)              /* { dg-warning "previous declaration" } */
+void foo1 (int d)              /* { dg-warning "previous definition" } */
 {
   double d;     /* { dg-bogus "warning" "warning in place of error" } */
   /* { dg-error "redeclared as different" "" { target *-*-* } 15 } */