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