Sign in
gnu
/
gcc
/
57ea00136418991e847e46a6946a81a1df70c9a4
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
virt3.C
blob: 72ad999de1e7d04c5c559012c0aa89126c5f8c95 [
file
] [
log
] [
blame
]
// { dg-do assemble }
class
B
{
public
:
int
Bi
;
virtual
int
g
()
{
return
0
;
};
};
class
D
:
private
B
{
int
Di
;
};
class
E
:
public
virtual
D
,
public
B
{
// { dg-warning "" } direct base inaccessible due to ambiguity
int
Ei
;
};
E e
;