1// PR c++/23211 2// { dg-do compile } 3 4struct A { int x; }; 5 6template <class T> 7struct B: A 8{ 9 using T::x; 10}; 11 12B<A> b; 13