Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
scoping2.C
blob: 637e74b246ea873274fb41caedf837115b9f61af [
file
] [
log
] [
blame
]
// { dg-do assemble }
// Bug: A function is not hidden properly by a use of its name in an
// inner scope.
struct
A
{
struct
B
{
int
f
;
B
()
:
f
(
0
)
{}
void
g
()
{
f
=
0
;
}
};
void
f
();
void
f
(
int
);
};