* g++.dg/warn/Wshadow-1.C: Remove unncessary dg-error line.

From-SVN: r53648
This commit is contained in:
Mark Mitchell 2002-05-20 04:56:25 +00:00 committed by Mark Mitchell
parent 16861f33d2
commit 851c06dd46
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2002-05-19 Mark Mitchell <mitchell@doubledemon.codesourcery.com>
* g++.dg/warn/Wshadow-1.C: Remove unncessary dg-error line.
2002-05-19 Andreas Jaeger <aj@suse.de>
* gcc.c-torture/execute/loop-2c.x: Remove, the test should pass

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2001 Free Software Foundation, Inc. */
/* Copyright (C) 2001, 2002 Free Software Foundation, Inc. */
/* { dg-do compile } */
/* { dg-options -Wshadow } */
@ -30,7 +30,6 @@ void foo1 (int d)
double d; // { dg-error "shadows a parameter" }
}
// { dg-error "In member function" "ignored" { target *-*-* } 0 }
void status::foo2 ()
{
int member; // { dg-warning "shadows a member" }