https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125957
--- Comment #3 from eczbek.void at gmail dot com --- Also, reduced? https://godbolt.org/z/an56Ycae3 ``` class A { static void f() {} public: static constexpr auto f_info = ^^f; }; int main() { [:A::f_info:](); } ``` ``` <source>: In function 'int main()': <source>:9:22: error: 'static void A::f()' is private within this context 9 | [:A::f_info:](); | ~~~~~~~~~~~~~^~ <source>:2:21: note: declared private here 2 | static void f() {} | ^ ```
