1 // PR c++/60222
2 
3 template<int&> struct A
4 {
5   template<typename> struct B;
6 
7   template<typename T> struct B<T*> {};
8 };
9