Remove outermost loop parameter.
[official-gcc/graphite-test-results.git] / gcc / testsuite / g++.dg / cpp0x / variadic-ex3.C
blob60c47176d0029bb61989228e8faa517f424d6915
1 // { dg-options "-std=gnu++0x" }
2 template<class X, class Y, class... Z> X f(Y); // { dg-message "candidate" }
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