]> git.ipfire.org Git - thirdparty/gcc.git/commit
c++: Add #line testcase for CWG2580 [PR120778]
authorJakub Jelinek <jakub@redhat.com>
Mon, 4 Aug 2025 13:28:29 +0000 (15:28 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 4 Aug 2025 13:28:29 +0000 (15:28 +0200)
commit102179f11d35705f384817d7edec32bbda22b2b7
treed42057a2e684e84cd276cf1a5bb995d230558a68
parentbb80bcec3b81d37f17c4dc8e17c6d437b307911e
c++: Add #line testcase for CWG2580 [PR120778]

Contrary to what the paper says, I think for #line directives we diagnose
everything we should (sure, some diagnostics are pedwarns).

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

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