1 2 3 4 5
// { dg-do compile { target c++11 } } struct A { }; struct B: A { }; struct C: B { using A::A; }; // { dg-error "direct" }