summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2018-02-08 05:47:40 +0000
committerMarshall Clow <mclow.lists@gmail.com>2018-02-08 05:47:40 +0000
commita217e505c3757bcba7c21bc13b24eac3bd8b406d (patch)
treebc144985e0346584eeb9543ca1b17c2f8aaa3609
parent559ff1fe03c656bd3e568b9f0971c15fa803edec (diff)
downloadbcm5719-llvm-a217e505c3757bcba7c21bc13b24eac3bd8b406d.tar.gz
bcm5719-llvm-a217e505c3757bcba7c21bc13b24eac3bd8b406d.zip
Improve a test. NFC
llvm-svn: 324566
-rw-r--r--libcxx/test/libcxx/memory/is_allocator.pass.cpp1
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, "" );
OpenPOWER on IntegriCloud