llvm-project/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.hash
Billy Robert O'Neal III e52a34bd9d Allow a standard library to implement conditional noexcept for optional and unique_ptr hash functions.
These tests were unconditionally asserting that optional and unique_ptr declare throwing hashes, but MSVC++ implements conditional noexcept forwarding that of the underlying hash function. As a result we were failing these tests but there's nothing forbidding strengthening noexcept in that way.

Changed the ASSERT_NOT_NOEXCEPT asserts to use types which themselves have non-noexcept hash functions.

llvm-svn: 300516
2017-04-18 00:19:50 +00:00
..
enabled_hash.pass.cpp
hash_shared_ptr.pass.cpp
hash_unique_ptr.pass.cpp Allow a standard library to implement conditional noexcept for optional and unique_ptr hash functions. 2017-04-18 00:19:50 +00:00