summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/g++.dg/template/call2.C
blob: 86d5c2e82b5abe89b02c6377eed786d8692d79c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// PR c++/13592

struct S { 
  void operator()(int); 
}; 
 
struct A { 
  template <typename> void foo(); 
  S s; 
}; 
 
template <typename> void A::foo() { 
  s(0); 
} 
OpenPOWER on IntegriCloud