Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
opt
/
pr70100.C
blob: 3f612cba3fb0fd02e15e8f4f9a6d5ef0f2628b8d [
file
] [
log
] [
blame
]
// PR middle-end/70100
// { dg-do compile { target c++11 } }
// { dg-options "-O0" }
void
bar
(
int
)
{
}
template
<
typename
...
Args
>
void
foo
(
Args
&&
...
args
)
{
[&]
{
[&]
{
bar
(
args
...);
};
};
}
int
main
()
{
foo
(
2
);
}