]> git.ipfire.org Git - thirdparty/gcc.git/commit
c++: Add testcase for CWG2577 [PR120778]
authorJakub Jelinek <jakub@redhat.com>
Thu, 7 Aug 2025 06:53:23 +0000 (08:53 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 7 Aug 2025 06:54:11 +0000 (08:54 +0200)
commit6026a54f2faedf0be3b8e15b3e69492d21cfc082
treeb28bd820ed53459f88444668b8f95a20cade5400
parent3b66a2a7890f2ae27ad4c1e1ac62b6551a2ffbae
c++: Add testcase for CWG2577 [PR120778]

And here is the last part of the paper.  Contrary what the paper claims
(clearly they haven't tried -pedantic nor -pedantic-errors), I think we
already diagnose everything we should.

2025-08-07  Jakub Jelinek  <jakub@redhat.com>

PR preprocessor/120778
* g++.dg/DRs/dr2577-1.C: New test.
* g++.dg/DRs/dr2577-2.C: New test.
* g++.dg/DRs/dr2577-2.h: New file.
* g++.dg/DRs/dr2577-3.C: New test.
* g++.dg/DRs/dr2577-3.h: New file.
gcc/testsuite/g++.dg/DRs/dr2577-1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/DRs/dr2577-2.C [new file with mode: 0644]
gcc/testsuite/g++.dg/DRs/dr2577-2.h [new file with mode: 0644]
gcc/testsuite/g++.dg/DRs/dr2577-3.C [new file with mode: 0644]
gcc/testsuite/g++.dg/DRs/dr2577-3.h [new file with mode: 0644]