// PR c++/84925 // { dg-do compile { target c++17 } } template struct A { static const int value = 0; static auto constexpr fn = [] { return __func__; }; }; template int x = A::value; auto s = x;