]> git.ipfire.org Git - thirdparty/gcc.git/commit
c++: Add nodiscard attribute further test coverage [PR110345]
authorJakub Jelinek <jakub@redhat.com>
Thu, 6 Feb 2025 17:32:32 +0000 (18:32 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 6 Feb 2025 17:38:05 +0000 (18:38 +0100)
commit7169ee08203878ba351eedf206df7ff43014d634
tree9725ca550a7df8dd758c3d0529fe4ce98ba5dfeb
parentcb27337f9f4956e6eb634b26a7999ea68063f58a
c++: Add nodiscard attribute further test coverage [PR110345]

Fairly non-problematic attribute.

2025-02-06  Jakub Jelinek  <jakub@redhat.com>

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