blob: f73acc7f2f07253645b61b0aa96cefe30647883e [file] [log] [blame]
// { dg-do run }
template <class T>
int f(T)
{
return 1;
}
template <class T>
int f(T*)
{
return 0;
}
int main()
{
int (*h)(int*) = &f;
int (&k)(int*) = f;
return (*h)(0) || (*k)(0);
}