aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/explicit75.C
blob: 433f0b193e393fe509f485ac8123824485e11fe6 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Test for not complaining about mismatches during unification.
// Build don't link:

template <void (*F)(int)> void f();
template <void (*F)(double)> void f();
extern void g(double);

void h ()
{
  f<g>();
}