diff options
Diffstat (limited to 'libcxx/test/containers/sequences/dynarray/dynarray.traits/default.pass.cpp')
-rw-r--r-- | libcxx/test/containers/sequences/dynarray/dynarray.traits/default.pass.cpp | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/libcxx/test/containers/sequences/dynarray/dynarray.traits/default.pass.cpp b/libcxx/test/containers/sequences/dynarray/dynarray.traits/default.pass.cpp deleted file mode 100644 index 9b8240d4cd8..00000000000 --- a/libcxx/test/containers/sequences/dynarray/dynarray.traits/default.pass.cpp +++ /dev/null @@ -1,31 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// The LLVM Compiler Infrastructure -// -// This file is dual licensed under the MIT and the University of Illinois Open -// Source Licenses. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -// dynarray.data - -// template <class Type, class Alloc> -// struct uses_allocator<dynarray<Type>, Alloc> : true_type { }; - - -#include <__config> - -#if _LIBCPP_STD_VER > 11 - -#include <experimental/dynarray> -#include "test_allocator.h" - -using std::experimental::dynarray; - -int main() -{ - static_assert ( std::uses_allocator<dynarray<int>, test_allocator<int>>::value, "" ); -} -#else -int main() {} -#endif |