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();
}

Reply via email to