summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/non-dependent6.C
blob: 0959a3de9f8867e4b24ac8d3dfb18cae29e37efb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// PR c++/15285

void foo(void (*func)()) {}

template<typename T>
void bar()
{}

template<typename T>
void baz()
{
  foo(&bar<long>);
}