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