[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / template / current-inst1.C
blob8f42ef844405845d1ace2cab0e25c73781f8d145
1 // PR c++/53549
3 template<typename T>
4 struct C2
6   int operator()();
8   template<int> struct F2;
9 };
12 template<typename T>
13 template<int I>
14 struct C2<T>::F2 : C2<T>
16   using C2<T>::operator();
19 C2<int>::F2<42> f;