OSDN Git Service

PR c++/28878
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / call2.C
1 // PR c++/13592
2
3 struct S { 
4   void operator()(int); 
5 }; 
6  
7 struct A { 
8   template <typename> void foo(); 
9   S s; 
10 }; 
11  
12 template <typename> void A::foo() { 
13   s(0); 
14