llvm-project/libcxx/test/std/thread
Arthur O'Dwyer d7eb797ea5 [libc++] [test] Detect an improperly noexcept'ed __decay_copy.
`__decay_copy` is used by `std::thread`'s constructor to copy its arguments
into the new thread. If `__decay_copy` claims to be noexcept, but then
copying the argument does actually throw, we'd call std::terminate instead
of passing this test. (And I've verified that adding an unconditional `noexcept`
to `__decay_copy` does indeed fail this test.)

Differential Revision: https://reviews.llvm.org/D100277
2021-04-12 12:28:01 -04:00
..
futures [libc++] NFC: Normalize links to bug reports 2021-03-03 13:45:29 -05:00
thread.barrier [libcxx][test] move libc++-specific tests into the libcxx tree 2021-01-28 18:01:56 -08:00
thread.condition [libcxx] [test] Make the condvar wait_for tests a bit more understandable. NFC. 2021-04-02 10:46:15 +03:00
thread.general Support tests in freestanding 2019-02-04 20:31:13 +00:00
thread.latch [libcxx][test] move libc++-specific tests into the libcxx tree 2021-01-28 18:01:56 -08:00
thread.mutex [libcxx testing] Fix UB in tests for std::lock_guard 2021-01-15 16:11:45 +07:00
thread.req [libc++] Remove useless nothing_to_do.pass.cpp tests 2020-04-03 13:48:34 -04:00
thread.semaphore [libcxx][test] move libc++-specific tests into the libcxx tree 2021-01-28 18:01:56 -08:00
thread.threads [libc++] [test] Detect an improperly noexcept'ed __decay_copy. 2021-04-12 12:28:01 -04:00
macro.pass.cpp libcxx: Define __STDCPP_THREADS__ to 1, not to __cplusplus. 2019-07-30 14:32:47 +00:00