1 // Conversion to a function pointer uses a generic thunk, which doesn't 2 // work properly for variadics. Make sure that we can still use the lambda 3 // normally. 4 5 // { dg-do compile { target c++11 } } 6 f()7void f() 8 { 9 auto l = [](...){}; 10 void (*p1)(...) = l; // { dg-bogus "sorry" "" { xfail *-*-* } } 11 l(); // OK 12 } 13