Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
);
}