Sign in
gnu
/
gcc
/
5e9c4ed903c39f82f28362d9411d4dbc491264ec
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Winaccessible-base-1.C
blob: 2e32b0b119ffe711e3cd285937d016ad8969635e [
file
] [
log
] [
blame
]
// PR c++/90449
struct
A
{
int
a
;
};
struct
B
:
A
{
};
struct
C
:
B
,
A
{
};
// { dg-warning "direct base 'A' inaccessible in 'C' due to ambiguity" }