Verify a warning for a class with a ref-qualified assignment (PR c++/98835).
authorMartin Sebor <msebor@redhat.com>
Mon, 1 Feb 2021 15:42:58 +0000 (08:42 -0700)
committerMartin Sebor <msebor@redhat.com>
Mon, 1 Feb 2021 15:42:58 +0000 (08:42 -0700)
commitc2f8e378d64f65645e5f9c41a8221ca102c71208
tree4032647fd00bd3c0bfac72eae64517ceb317b925
parent7e534fb7d8256a605b6bdc12451d209af1bed329
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.
gcc/testsuite/g++.dg/Wclass-memaccess-6.C [new file with mode: 0644]