]> gcc.gnu.org Git - gcc.git/blame - gcc/testsuite/g++.old-deja/g++.other/lookup21.C
spec4.C: Remove stray semicolon.
[gcc.git] / gcc / testsuite / g++.old-deja / g++.other / lookup21.C
CommitLineData
bd0d5d4a
JM
1// Check that we don't complain about ambiguity between the same static
2// member function in different subobjects.
3
4struct A {
5 static void f() {}
6};
7
8struct B: public A { };
9struct C: public A { };
10struct D: public B, public C { };
11
12int main()
13{
14 D d;
15 d.f();
16}
This page took 0.682584 seconds and 5 git commands to generate.