Author: marshall
Date: Wed Feb  7 21:47:40 2018
New Revision: 324566

URL: http://llvm.org/viewvc/llvm-project?rev=324566&view=rev
Log:
Improve a test. NFC

Modified:
    libcxx/trunk/test/libcxx/memory/is_allocator.pass.cpp

Modified: libcxx/trunk/test/libcxx/memory/is_allocator.pass.cpp
URL: 
http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/memory/is_allocator.pass.cpp?rev=324566&r1=324565&r2=324566&view=diff
==============================================================================
--- libcxx/trunk/test/libcxx/memory/is_allocator.pass.cpp (original)
+++ libcxx/trunk/test/libcxx/memory/is_allocator.pass.cpp Wed Feb  7 21:47:40 
2018
@@ -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, "" );


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to