diff options
author | Jakub Jelinek <jakub@redhat.com> | 2024-12-18 11:58:39 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2024-12-18 11:58:39 +0100 |
commit | 54ea9cfb676d7c2aa593594dfa48147ba7de18e3 (patch) | |
tree | 5f46e830d260b389e170b8547f3f8301eba8dd35 /libgcc/fixed-bit.c | |
parent | 17429c1d20568d4810189196d64081139c0d7785 (diff) | |
download | gcc-54ea9cfb676d7c2aa593594dfa48147ba7de18e3.zip gcc-54ea9cfb676d7c2aa593594dfa48147ba7de18e3.tar.gz gcc-54ea9cfb676d7c2aa593594dfa48147ba7de18e3.tar.bz2 |
c++: Add fallthrough attribute further test coverage [PR110345]
Similarly for fallthrough attribute. Had to add a second testcase because
the diagnostics for fallthrough not used within switch at all is done during
expansion and expansion won't happen if there are other errors in the
testcase.
2024-12-18 Jakub Jelinek <jakub@redhat.com>
PR c++/110345
* g++.dg/cpp0x/attr-fallthrough1.C: New test.
* g++.dg/cpp0x/attr-fallthrough2.C: New test.
Diffstat (limited to 'libgcc/fixed-bit.c')
0 files changed, 0 insertions, 0 deletions