https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96961
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Reduced testcase from PR 102005: int foo(); template<auto f = [](int = foo()){ }> void bar() { f(); } int main() { bar(); }
pinskia at gcc dot gnu.org via Gcc-bugs Sat, 21 Aug 2021 05:44:44 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96961
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Reduced testcase from PR 102005: int foo(); template<auto f = [](int = foo()){ }> void bar() { f(); } int main() { bar(); }