repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Winaccessible-base-2.C
blob
67bd740a763a0bde9be715d09d81770af0078531
1
// PR c++/90449
2
// { dg-options -Wno-inaccessible-base }
3
4
struct A { int a; };
5
6
struct B : A { };
7
8
struct C : B, A { }; // { dg-bogus "direct base 'A' inaccessible in 'C' due to ambiguity" }