]> git.ipfire.org Git - thirdparty/gcc.git/commit
c++: Add testcase for DR 2728
authorJakub Jelinek <jakub@redhat.com>
Wed, 25 Sep 2024 14:07:11 +0000 (16:07 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 25 Sep 2024 14:26:35 +0000 (16:26 +0200)
commit340ef96560da93891418c39d38b5d90f6bd47053
tree557fc844531ec1b56c8e763d098bb6ee27d45f50
parenta88d6c6d777ad7c9235e2e620318f26e5347e50a
c++: Add testcase for DR 2728

Seems we already handle delete expressions the way the DR clarifies,
so this patch just adds a testcase which verifies that.

2024-09-25  Jakub Jelinek  <jakub@redhat.com>

* g++.dg/DRs/dr2728.C: New test.
gcc/testsuite/g++.dg/DRs/dr2728.C [new file with mode: 0644]