https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116565
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|UNCONFIRMED |RESOLVED --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Reduced further: ``` template <typename, typename> int const first_index_of_v; template <typename _Fn> using invoke_result_t = _Fn; template <typename> struct s1 { typedef invoke_result_t<decltype([] {})> nodes_type; template<int> consteval static auto f() { return first_index_of_v< nodes_type, int>; } }; auto arbitrary() { return s1<int>::f<1>(); } ``` Dup. *** This bug has been marked as a duplicate of bug 115318 ***