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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
virt3.C
blob
72ad999de1e7d04c5c559012c0aa89126c5f8c95
1
// { dg-do assemble }
2
3
class B {
4
public:
5
int Bi;
6
virtual int g() { return 0; };
7
};
8
9
class D : private B {
10
int Di;
11
};
12
13
class E : public virtual D, public B { // { dg-warning "" } direct base inaccessible due to ambiguity
14
int Ei;
15
};
16
17
E e;