Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/stabilize-5696.B
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wshadow-2.C
blob: a3e9428b6847955d560867fe51542eb8e081e3a2 [
file
] [
log
] [
blame
] [
edit
]
/* { dg-options "-Wshadow" } */
struct
A
{
void
a1
()
{
struct
B
{
B
()
{}
};
// There should be no warning here.
}
void
a2
()
{
struct
B
{
};
}
};