Improve a test. NFC
authorMarshall Clow <mclow.lists@gmail.com>
Thu, 8 Feb 2018 05:47:40 +0000 (05:47 +0000)
committerMarshall Clow <mclow.lists@gmail.com>
Thu, 8 Feb 2018 05:47:40 +0000 (05:47 +0000)
llvm-svn: 324566

libcxx/test/libcxx/memory/is_allocator.pass.cpp

index c33b7e8..95f1079 100644 (file)
@@ -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, "" );