diff options
-rw-r--r-- | libcxx/test/libcxx/memory/is_allocator.pass.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/test/libcxx/memory/is_allocator.pass.cpp b/libcxx/test/libcxx/memory/is_allocator.pass.cpp index c33b7e8295b..95f1079d61a 100644 --- a/libcxx/test/libcxx/memory/is_allocator.pass.cpp +++ b/libcxx/test/libcxx/memory/is_allocator.pass.cpp @@ -26,6 +26,7 @@ template <typename T> void test_allocators() { + static_assert(!std::__is_allocator<T>::value, "" ); static_assert( std::__is_allocator<std::allocator<T>>::value, "" ); static_assert( std::__is_allocator<test_allocator<T>>::value, "" ); static_assert( std::__is_allocator<min_allocator<T>>::value, "" ); |