FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / lookup21.C
blob09b3123b2fcf168dd212b1f6adf5061f054336e3
1 // Check that we don't complain about ambiguity between the same static
2 // member function in different subobjects.
4 struct A {
5   static void f() {}
6 };
8 struct B: public A { };
9 struct C: public A { };
10 struct D: public B, public C { };
12 int main()
14   D d;
15   d.f();