2 // The standard sez that a use of a name gets the most access it can through
3 // the various paths that can reach it. Here, the access decl in B gives
11 struct B: private virtual A
13 A::f; // { dg-warning "deprecated" }
16 struct C: private virtual A, public B