diff options
author | François Dumont <frs.dumont@gmail.com> | 2025-04-10 20:58:11 +0200 |
---|---|---|
committer | François Dumont <fdumont@gcc.gnu.org> | 2025-04-24 18:05:32 +0200 |
commit | 2fb6ddd45872f04306375572c281ec65ee59c761 (patch) | |
tree | 6034b00a3c37eab67e028948bf8709a8e54fcf24 /gcc | |
parent | 3e448005c51320801c0e2fa6ddf577da51cec7c7 (diff) | |
download | gcc-2fb6ddd45872f04306375572c281ec65ee59c761.zip gcc-2fb6ddd45872f04306375572c281ec65ee59c761.tar.gz gcc-2fb6ddd45872f04306375572c281ec65ee59c761.tar.bz2 |
libstdc++: Add std::deque<>::shrink_to_fit test
The existing test is currently testing std::vector. Adapt it for std::deque.
libstdc++-v3/ChangeLog:
* testsuite/util/replacement_memory_operators.h: Adapt for -fno-exceptions
context.
* testsuite/23_containers/deque/capacity/shrink_to_fit.cc: Adapt test
to check std::deque shrink_to_fit method.
Reviewed-by: Jonathan Wakely <jwakely@redhat.com>
Reviewed-by: Tomasz Kaminski <tkaminsk@redhat.com>
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions