[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / template / call2.C
blob86d5c2e82b5abe89b02c6377eed786d8692d79c9
1 // PR c++/13592
3 struct S { 
4   void operator()(int); 
5 }; 
6  
7 struct A { 
8   template <typename> void foo(); 
9   S s; 
10 }; 
12 template <typename> void A::foo() { 
13   s(0); 
14