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

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Shorter:

using U = void(&)(this int);

We also fail to reject

struct S {
  void (*f)(this S&);
  void (&r)(this S&);
};

Reply via email to