Commit 851c06dd by Mark Mitchell Committed by Mark Mitchell

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

From-SVN: r53648
parent 16861f33
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
......
/* 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" }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment