blob: 263640dd03911547ec0c8bf74ca1f8c64a9578db [file] [log] [blame]
// PR c++/50086
// { dg-do compile { target c++11 } }
template<typename T> void tfun();
template<typename T> void fun1(T);
template<typename... Types> void fun2(Types... args);
int main()
{
fun1(tfun<int>); // ok
fun2(tfun<int>); // error: unresolved overloaded function type
}