Commit b8c25665 by Zack Weinberg

* gcc.dg/Wshadow-1.c: Add a dg-warning line.

From-SVN: r64717
parent 3e4a3562
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -10,7 +10,7 @@ void foo (double decl1) /* { dg-warning "shadows a global decl" } */
{
}
void foo1 (int d)
void foo1 (int d) /* { dg-warning "shadowed declaration" } */
{
double d; /* { dg-bogus "warning" "warning in place of error" } */
/* { dg-error "shadows a parameter" "" { target *-*-* } 15 } */
......
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