1 // { dg-do run } 2 // { dg-options "-Wall -std=c++11" } 3 4 void foo(int a)5foo (int a) 6 { 7 if (a != 127) 8 __builtin_abort (); 9 } 10 11 template <typename... Args> 12 void bar(Args &&...args)13bar (Args &&... args) 14 { 15 [&]() { [&]() { foo (args...); } (); } (); 16 } 17 18 int main()19main () 20 { 21 int x = 127; 22 bar (x); 23 } 24