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

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
ICE without <meta>:

template <class T>
struct S {
  template <class U>
  static void f() { }

  static constexpr auto p = ^^f<unsigned>;
};

consteval void g () { S<int>::p; }
void gg () { g (); }

Reply via email to