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