https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53281
--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> --- N.B. comment 6 is the subject of PR 85958 which is really a different bug to this one. This is about invalid member function calls on cv-qualified objects, and 85958 is about invalid attempts to bind references to cv-qualified objects.