]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Add std::future tests for negative timeouts [PR116586]
authorMike Crowe <mac@mcrowe.com>
Sun, 14 Sep 2025 20:21:31 +0000 (21:21 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 14 Oct 2025 16:26:43 +0000 (17:26 +0100)
commitbb96099a8dc8cf69bb0d2e424c3b38e6365f90f6
treea1f53c86e0049b2ff3d1b739cd354fa2740063f3
parent87c994095b17892922bfcd3c154c51526ece2260
libstdc++: Add std::future tests for negative timeouts [PR116586]

Add tests to show that std::future::wait_until and
std::future::wait_for correctly handle negative timeouts.

libstdc++-v3/ChangeLog:

PR libstdc++/116586
* testsuite/30_threads/future/members/116586.cc: New test.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
libstdc++-v3/testsuite/30_threads/future/members/116586.cc [new file with mode: 0644]