1 // PR c++/53549 2 3 template<typename T> 4 struct C2 5 { 6 int operator()(); 7 8 template<int> struct F2; 9 }; 10 11 12 template<typename T> 13 template<int I> 14 struct C2<T>::F2 : C2<T> 15 { 16 using C2<T>::operator(); 17 }; 18 19 C2<int>::F2<42> f; 20