Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Winaccessible-virtual-base-1.C
blob: 051fcc695fec2800f3c9a3f6ee991a780cae779b [
file
] [
log
] [
blame
]
// PR c++/90449
// { dg-options -Wextra }
struct
A
{
};
struct
B
:
virtual
A
{
};
struct
C
:
A
{
};
struct
D
:
B
,
C
{
};
// { dg-warning "virtual base 'A' inaccessible in 'D' due to ambiguity" }