1 // { dg-do compile { target c++14 } } 2 operatorA3 struct A { void operator()(int) const {} }; 4 5 template <class T> f()6 void f() 7 { 8 constexpr A a {}; 9 10 [=](auto b) { 11 a(b); 12 }(42); 13 } 14 main()15 int main() 16 { 17 f<int>(); 18 } 19