2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / explicit26.C
blobba50fac1c4f806896d8a0114987b9bf6f03457c0
1 // { dg-do link  }
2 // GROUPS passed templates
3 template <class T>
4 int foo(T t) { return 1; }
6 template <>
7 int foo(int i) { return 0; }
9 int main()
11   (int (*)(int)) &foo<int>;