Sign in
android
/
toolchain
/
gcc
/
donut
/
.
/
gcc-4.4.0
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic-ex12.C
blob: b97df3102036c0407943860d11247e901539c5a9 [
file
] [
log
] [
blame
]
// { dg-options "-std=gnu++0x" }
template
<
typename
...
Types
>
void
f
(
Types
...
rest
);
template
<
typename
...
Types
>
void
g
(
Types
...
rest
)
{
f
(&
rest
...);
// ``&rest...'' is a pack expansion, ``&rest'' is its pattern
}