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

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