Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic167.C
blob: cada9725090ad309926fa94a0382ada49da69d52 [
file
] [
log
] [
blame
]
// PR c++/69743
// { dg-do compile { target c++11 } }
template
<
typename
D
,
typename
...
T
>
void
f
(
int
,
T
...
d
)
{
}
template
<
typename
D
,
typename
...
T
>
void
f
(
T
...
d
)
{
f
<
D
>(
1
,
d
...);
}
void
g
(
void
)
{
f
<long>
(
1.0
);
}