☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic-nondeduce1.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/variadic-nondeduce1.C
code
plain
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
}