1 // PR c++/41723 2 3 template<class T> 4 class C { 5 template <class U> class D {}; 6 7 friend class C::D<int>; 8 }; 9