Sign in
android
/
toolchain
/
gcc
/
donut
/
.
/
gcc-4.4.0
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic32.C
blob: c5bee55ccb7188cca51e6828bc1f68ebfcaf8aea [
file
] [
log
] [
blame
]
// { dg-options "-std=gnu++0x" }
template
<
typename
...
T
>
void
eat
(
const
T
&...)
{
}
void
f
()
{
eat
();
eat
(
1
);
eat
(
1
,
2
);
eat
(
17
,
3.14159
,
"Hello, World!"
);
}