|
@@ -16,6 +16,7 @@
|
|
|
#include <unordered_map>
|
|
|
#include <cassert>
|
|
|
|
|
|
+#include "test_macros.h"
|
|
|
#include "MoveOnly.h"
|
|
|
#include "test_allocator.h"
|
|
|
|
|
@@ -54,11 +55,11 @@ int main()
|
|
|
}
|
|
|
{
|
|
|
typedef std::unordered_multimap<MoveOnly, MoveOnly, some_hash<MoveOnly>> C;
|
|
|
- static_assert(!std::is_nothrow_destructible<C>::value, "");
|
|
|
+ LIBCPP_STATIC_ASSERT(!std::is_nothrow_destructible<C>::value, "");
|
|
|
}
|
|
|
{
|
|
|
typedef std::unordered_multimap<MoveOnly, MoveOnly, std::hash<MoveOnly>,
|
|
|
some_comp<MoveOnly>> C;
|
|
|
- static_assert(!std::is_nothrow_destructible<C>::value, "");
|
|
|
+ LIBCPP_STATIC_ASSERT(!std::is_nothrow_destructible<C>::value, "");
|
|
|
}
|
|
|
}
|