Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic102.C
blob: 9214b01c46e0b748cd69b246c6b41b1ee6ddce24 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
struct
nAny
{
template
<
class
...
T
>
nAny
(
T
&&...);
};
template
<
class
T
>
T
&&
create
();
template
<
class
T
,
class
...
Args
>
void
test
()
{
T t
(
create
<
Args
>()...);
(
void
)
t
;
}
int
main
()
{
test
<nAny>
();
}