repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
lookup21.C
blob
09b3123b2fcf168dd212b1f6adf5061f054336e3
1
// Check that we don't complain about ambiguity between the same static
2
// member function in different subobjects.
3
4
struct A {
5
static void f() {}
6
};
7
8
struct B: public A { };
9
struct C: public A { };
10
struct D: public B, public C { };
11
12
int main()
13
{
14
D d;
15
d.f();
16
}