// Related to c++/81525 // { dg-do compile { target c++14 } } template struct A { template static void f() { [](auto b) { auto c = +b; }(42); } }; int main() { A::f(); }