Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/variadic-nondeduce1.C

raw
1 // { dg-do compile { target c++11 } }
2
3 template <class... T>
4 void f(T..., int, T...) { }
5
6 int main()
7 {
8 f(0);
9 f<int>(0,0,0);
10 f<int,int>(0,0,0,0,0);
11 f(0,0,0); // { dg-error "" }
12 }