commit | 8ac1fa16b2c8d1ece353a1c5e84604c7de31daaf | [log] [tgz] |
---|---|---|
author | Billy Robert O'Neal III <bion@microsoft.com> | Thu Apr 06 23:50:33 2017 +0000 |
committer | Billy Robert O'Neal III <bion@microsoft.com> | Thu Apr 06 23:50:33 2017 +0000 |
tree | 53e0d38a6f29fb17833cb719d4c162b4bea507bd | |
parent | eaeeaaf375c8824f641c0f02ed90582be73fc6ac [diff] [blame] |
Add noexcept(false) to more strongly indicate that not being noexcept is important for hash tests. llvm-svn: 299735
diff --git a/libcxx/test/std/utilities/optional/optional.hash/hash.pass.cpp b/libcxx/test/std/utilities/optional/optional.hash/hash.pass.cpp index 6d9a260..4a0bf6d 100644 --- a/libcxx/test/std/utilities/optional/optional.hash/hash.pass.cpp +++ b/libcxx/test/std/utilities/optional/optional.hash/hash.pass.cpp
@@ -26,7 +26,7 @@ template <> struct hash<B> { - size_t operator()(B const&) { return 0; } + size_t operator()(B const&) noexcept(false) { return 0; } }; }