PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / variadic-unresolved.C
blob263640dd03911547ec0c8bf74ca1f8c64a9578db
1 // PR c++/50086
2 // { dg-do compile { target c++11 } }
4 template<typename T> void tfun();
5 template<typename T> void fun1(T);
6 template<typename... Types> void fun2(Types... args);
8 int main()
10   fun1(tfun<int>); // ok
11   fun2(tfun<int>); // error: unresolved overloaded function type