Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic-nondeduce1.C
blob: 4aa5dbab2b099fbc904f249f7d0e33feaaf92edc [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
template
<
class
...
T
>
void
f
(
T
...,
int
,
T
...)
{
}
int
main
()
{
f
(
0
);
f
<int>
(
0
,
0
,
0
);
f
<
int
,
int
>(
0
,
0
,
0
,
0
,
0
);
f
(
0
,
0
,
0
);
// { dg-error "" }
}