diff options
Diffstat (limited to 'libcxx/test/support/poisoned_hash_helper.hpp')
-rw-r--r-- | libcxx/test/support/poisoned_hash_helper.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libcxx/test/support/poisoned_hash_helper.hpp b/libcxx/test/support/poisoned_hash_helper.hpp index e8a2d8c3a59..824c35837b2 100644 --- a/libcxx/test/support/poisoned_hash_helper.hpp +++ b/libcxx/test/support/poisoned_hash_helper.hpp @@ -14,6 +14,7 @@ #include <cassert> #include "test_macros.h" +#include "test_workarounds.h" #if TEST_STD_VER < 11 #error this header may only be used in C++11 or newer @@ -49,9 +50,11 @@ namespace PoisonedHashDetail { // specializations of hash for nullptr t and all cv-unqualified // arithmetic, enumeration, and pointer types. using LibraryHashTypes = TypeList< +#if !defined(TEST_WORKAROUND_C1XX_BROKEN_NULLPTR_CONVERSION_OPERATOR) #if TEST_STD_VER > 14 decltype(nullptr), #endif +#endif bool, char, signed char, |