summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/explicit3.C
blob: ef3e1b4c1cb044da8038a98feda96b1637b76c40 (plain)
1
2
3
4
5
6
7
8
9
// { dg-do assemble  }
// GROUPS passed templates
template <class T, class U>
void foo(T t, U u) {}

void bar()
{
  (void (*)(double, int)) &foo<double>;
}