blob: a8463de19808ee1730321cf038438543a9f594a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// PR c++/50086
// { dg-options -std=c++0x }
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
}
|