Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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!"
);
}