* g++.dg/warn/Wshadow-1.C: Remove unncessary dg-error line.
From-SVN: r53648
This commit is contained in:
parent
16861f33d2
commit
851c06dd46
|
@ -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>
|
2002-05-19 Andreas Jaeger <aj@suse.de>
|
||||||
|
|
||||||
* gcc.c-torture/execute/loop-2c.x: Remove, the test should pass
|
* gcc.c-torture/execute/loop-2c.x: Remove, the test should pass
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 2001 Free Software Foundation, Inc. */
|
/* Copyright (C) 2001, 2002 Free Software Foundation, Inc. */
|
||||||
|
|
||||||
/* { dg-do compile } */
|
/* { dg-do compile } */
|
||||||
/* { dg-options -Wshadow } */
|
/* { dg-options -Wshadow } */
|
||||||
|
@ -30,7 +30,6 @@ void foo1 (int d)
|
||||||
double d; // { dg-error "shadows a parameter" }
|
double d; // { dg-error "shadows a parameter" }
|
||||||
}
|
}
|
||||||
|
|
||||||
// { dg-error "In member function" "ignored" { target *-*-* } 0 }
|
|
||||||
void status::foo2 ()
|
void status::foo2 ()
|
||||||
{
|
{
|
||||||
int member; // { dg-warning "shadows a member" }
|
int member; // { dg-warning "shadows a member" }
|
||||||
|
|
Loading…
Reference in New Issue