Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic32.C
blob: 0c5f6ee9841f653aff4139bdd951d140ebe24823 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
template
<
typename
...
T
>
void
eat
(
const
T
&...)
{
}
void
f
()
{
eat
();
eat
(
1
);
eat
(
1
,
2
);
eat
(
17
,
3.14159
,
"Hello, World!"
);
}