https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88028

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
ICE started with r240802.  Before that:

88028.C: In instantiation of ‘constexpr const auto R<int>::h’:
88028.C:16:34:   required from ‘struct R<int>’
88028.C:23:24:   required from here
88028.C:16:34: error: invalid use of template type parameter ‘A’
 struct R { static constexpr auto h = A{S{}}; };
                                  ^

Reply via email to