summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/explicit27.C
blob: 368510513a84ff317d7abb6711f9c2895a4098b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-do link  }
// GROUPS passed templates
template <class T>
void foo(T t);

template <>
void foo(int i) {}

int main()
{
  (void (*)(int)) &foo<int>;
}