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