// PR c++/23211 // { dg-do compile } struct A { int x; }; template struct B: A { using T::x; }; B b;