blob: 79d8dd01d073bdc10684a0490364019b845469a6 [file] [log] [blame]
// { dg-do link }
// GROUPS passed templates
template <class T>
int foo(T t) { return 1; }
template <>
int foo(int i) { return 0; }
int main()
{
return (*((int (*)(int)) &foo<int>))(3);
}