summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/explicit66.C
blob: 2745cce34cc5f1c873181be485b7a970dae45449 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-do run  }
void f(int) {}
void f(double);

template <void (*fn)(int)>
void foo() {}

int main()
{
  foo<f>();
}