summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/non-dependent5.C
blob: bd6ce6b47588a489387cfab37cd619ad2a5fe730 (plain)
1
2
3
4
5
6
7
8
// PR c++/15299

template <class T>  void fun_ptr(T (*)()); 
template <class T>  T    bar(); 
 
template <class> void foo () { 
  fun_ptr(bar<int>); 
}