1 // PR c++/50086
2 // { dg-do compile { target c++11 } }
3 
4 template<typename T> void tfun();
5 template<typename T> void fun1(T);
6 template<typename... Types> void fun2(Types... args);
7 
main()8 int main()
9 {
10   fun1(tfun<int>); // ok
11   fun2(tfun<int>); // error: unresolved overloaded function type
12 }
13