https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98835
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Martin Sebor <mse...@gcc.gnu.org>: https://gcc.gnu.org/g:c2f8e378d64f65645e5f9c41a8221ca102c71208 commit r11-7014-gc2f8e378d64f65645e5f9c41a8221ca102c71208 Author: Martin Sebor <mse...@redhat.com> Date: Mon Feb 1 08:42:58 2021 -0700 Verify a warning for a class with a ref-qualified assignment (PR c++/98835). gcc/testsuite/ChangeLog: PR c++/98835 * g++.dg/Wclass-memaccess-6.C: New test.