diff options
| author | Marshall Clow <mclow.lists@gmail.com> | 2018-02-08 05:47:40 +0000 |
|---|---|---|
| committer | Marshall Clow <mclow.lists@gmail.com> | 2018-02-08 05:47:40 +0000 |
| commit | a217e505c3757bcba7c21bc13b24eac3bd8b406d (patch) | |
| tree | bc144985e0346584eeb9543ca1b17c2f8aaa3609 | |
| parent | 559ff1fe03c656bd3e568b9f0971c15fa803edec (diff) | |
| download | bcm5719-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.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, "" ); |

