Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
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" }