diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2025-02-12 19:52:01 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2025-02-15 10:58:55 +0000 |
commit | 08f70200ce01eea42eed7c6fcdcf300a8812be95 (patch) | |
tree | 85233e9f35e84b8d4f874b95eaaceb44b65b5457 /gcc | |
parent | fd00010ba21c04bddb20aef52f62de5636075067 (diff) | |
download | gcc-08f70200ce01eea42eed7c6fcdcf300a8812be95.zip gcc-08f70200ce01eea42eed7c6fcdcf300a8812be95.tar.gz gcc-08f70200ce01eea42eed7c6fcdcf300a8812be95.tar.bz2 |
libstdc++: Combine three tests into one
Instead of a test with { target c++11_only } and another with
c++14_only and another with c++17 we can have a single test that uses
{ target c++11 }. This avoids needing to make edits to three very
similar tests.
Also fix the signatures for std::cbegin and std::cend which had the
wrong expression in the trailing-return-type and were missing their
constexpr and conditional noexcept (which were always present even in
C++14). That was wrong in two files, but now only needs to be fixed in
one place!
libstdc++-v3/ChangeLog:
* testsuite/24_iterators/headers/iterator/range_access_c++11.cc:
Removed.
* testsuite/24_iterators/headers/iterator/range_access_c++14.cc:
Removed.
* testsuite/24_iterators/headers/iterator/range_access_c++17.cc:
Removed.
* testsuite/24_iterators/headers/iterator/range_access.cc:
New test.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions