c++: Add test for Core issue 1376 [PR52202]
commita7698c0e1ecad65b1ab651acc82b34e12c7efd35
authorMarek Polacek <polacek@redhat.com>
Wed, 7 Apr 2021 02:17:33 +0000 (6 22:17 -0400)
committerMarek Polacek <polacek@redhat.com>
Wed, 7 Apr 2021 02:18:17 +0000 (6 22:18 -0400)
tree786a126b7f1644112556ea9907f342e6255d0c3c
parent8cac6af6f8ba5cce69161459e572e59c2be60e75
c++: Add test for Core issue 1376 [PR52202]

As Jens says in the PR, we handle this correctly.

gcc/testsuite/ChangeLog:

PR c++/52202
* g++.dg/cpp0x/rv-life.C: New test.
gcc/testsuite/g++.dg/cpp0x/rv-life.C [new file with mode: 0644]