Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic-parm1.C
blob: 4300c781400c54e236ea7f5186faa9a6718e65d5 [
file
] [
log
] [
blame
]
// PR c++/93140
// { dg-do compile { target c++11 } }
int
bar
()
{
return
42
;
}
template
<
typename
...
R
>
void
foo
(
R
...
r
,
decltype
(
bar
(
r
...))
x
=
0
)
{}
int
main
()
{
foo
(
3
);
}