blob: e0e3d029291c33e0aabd4aed8354627cc2055a22 [file] [log] [blame]
// PR c++/68374
// { dg-options "-Wshadow" }
void foo ()
{
static int i; // { dg-message "shadowed declaration" }
{
int i; // { dg-warning "shadows a previous local" }
}
}