blob: 49715be0a9aaa405a1e8cc1d599ce9c39af3fe42 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// PRMS Id: 3977
// Bug: A member function is not hidden properly by a later use of its name.
// Build don't link:
struct A {
void index ();
};
struct B: A {
int index;
B(): index(4) {}
};
|