Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr79180.C
blob: 2e3992ccd08c64e9c0b18595eb47e90434ed1f09 [
file
] [
log
] [
blame
]
// { dg-do run }
// { dg-options "-Wall -std=c++11" }
void
foo
(
int
a
)
{
if
(
a
!=
127
)
__builtin_abort
();
}
template
<
typename
...
Args
>
void
bar
(
Args
&&...
args
)
{
[&]()
{
[&]()
{
foo
(
args
...);
}
();
}
();
}
int
main
()
{
int
x
=
127
;
bar
(
x
);
}