diff options
author | Jakub Jelinek <jakub@redhat.com> | 2025-08-07 08:52:38 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2025-08-07 08:52:38 +0200 |
commit | 3b66a2a7890f2ae27ad4c1e1ac62b6551a2ffbae (patch) | |
tree | 62691ecd2c6dd38ff5732fa1cc649afaa39a64c7 /libjava/classpath/lib/java/security | |
parent | 2c5bd8e9fb16584cdd1d090b9a5a63dd9140b61b (diff) | |
download | gcc-3b66a2a7890f2ae27ad4c1e1ac62b6551a2ffbae.zip gcc-3b66a2a7890f2ae27ad4c1e1ac62b6551a2ffbae.tar.gz gcc-3b66a2a7890f2ae27ad4c1e1ac62b6551a2ffbae.tar.bz2 |
c++: Add testcase for CWG2575 [PR120778]
From the paper it isn't clear what caused the decision changes, not to drop
the "the token defined is generated as a result of this replacement process or"
part and make [cpp.cond]/10 violations IFNDR rather than ill-formed (the
latter maybe so that the extension to handle e.g. !A(A) below etc. can be
accepted).
Anyway, because that case hasn't been dropped and we pedwarn on it already,
and diagnose everything else the way it should, the following patch just
adds testcase for it.
2025-08-07 Jakub Jelinek <jakub@redhat.com>
PR preprocessor/120778
* g++.dg/DRs/dr2575.C: New test.
Diffstat (limited to 'libjava/classpath/lib/java/security')
0 files changed, 0 insertions, 0 deletions