]> git.ipfire.org Git - thirdparty/gcc.git/commit
c++: Add {,un}likely attribute further test coverage [PR110345]
authorJakub Jelinek <jakub@redhat.com>
Wed, 18 Dec 2024 10:59:24 +0000 (11:59 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 18 Dec 2024 10:59:24 +0000 (11:59 +0100)
commit190d9a2b384e626bcd0554e01513939af1ed5339
tree3d32aa26ee9772ba159acc97bd66cc5d98905892
parent54ea9cfb676d7c2aa593594dfa48147ba7de18e3
c++: Add {,un}likely attribute further test coverage [PR110345]

Similarly for likely/unlikely attributes.

2024-12-18  Jakub Jelinek  <jakub@redhat.com>

PR c++/110345
* g++.dg/cpp0x/attr-likely1.C: New test.
* g++.dg/cpp0x/attr-unlikely1.C: New test.
gcc/testsuite/g++.dg/cpp0x/attr-likely1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/attr-unlikely1.C [new file with mode: 0644]