1// PR c++/22352 2 3template <class A> 4class s 5{ 6 typedef int d; 7 template <class s, typename s::d> 8 friend class t; 9}; 10 11s<int> t1; 12 13