aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/template/fn-ptr1.C
blob: c0e7d988524a7b78631535ed4c7e4d74b38312a9 (plain)
1
2
3
4
5
// PR c++/48162

struct A { };
A (*f)();
template <class T> void g() { f(); }