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);
}