https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114267
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Reduced testcase: ``` struct F{ constexpr static const auto a=[]() {}; constexpr static const auto b=1.0; }; auto t = F::a; auto t0 = F::b; ``` t is localized while t0 is not.