OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* g++.old-deja/g++.other/eh4.C: Fix typo.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
lookup21.C
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
}