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

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
I'm getting a correct (if obscure) error message before the ICE:

wa.C:4:71: error: use of ‘this’ in a constant expression
    4 | template <class E> static auto func() -> enable_if_t<is_integral<E>()>;
      |                                                                     ^

wa.C:4: confused by earlier errors, bailing out

are you still not?

Reply via email to