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) {}
};