Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
scoping.C
blob: ef167306986d6c96fca4678ea2eb82e5d3bf1713 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// PRMS Id: 3977
// Bug: A member function is not hidden properly by a later use of its name.
struct
A
{
void
index
();
};
struct
B
:
A
{
int
index
;
B
():
index
(
4
)
{}
};