Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic-ex12.C
blob: bc55b2d55f6b0a53dbe08ead627d4ee5f61f0f93 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
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
}