summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/explicit75.C
blob: aed69aa1fb0677f2da99af926902f7942d7a2128 (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do assemble  }
// Test for not complaining about mismatches during unification.

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

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