1 2 3 4 5 6 7 8 9
// { dg-do assemble } template <class T> struct A { template <class U> struct B; }; template <class T> template <class U> struct A<T>::B<U*> { }; A<int>::B<int*> b;