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