https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 92494, which changed state.
Bug 92494 Summary: ICE on function templates with placeholder return type decltype([]{}) and if return type doesn't match https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92494 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED