OSDN Git Service

PR c++/36943
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / cpp0x / variadic-ex3.C
1 // { dg-options "-std=gnu++0x" }
2 template<class X, class Y, class... Z> X f(Y); 
3 void g() 
4
5   int i = f<int>(5.6);
6   int j = f(5.6);         // { dg-error "no matching" }
7   f<void>(f<int, bool>); 
8   f<void>(f<int>);        // { dg-error "no matching" }
9