summaryrefslogtreecommitdiffstats
path: root/libcxx/test
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2010-12-10 19:22:37 +0000
committerHoward Hinnant <hhinnant@apple.com>2010-12-10 19:22:37 +0000
commit7f8e26867fefa1a4c590f0d719ed81ac4091da4c (patch)
tree6c7f81b99902fadd3e6957bbb16703ca0382aa59 /libcxx/test
parent088bd9aa1462b6fa1a1caddcf89935e8a340e4c6 (diff)
downloadbcm5719-llvm-7f8e26867fefa1a4c590f0d719ed81ac4091da4c.tar.gz
bcm5719-llvm-7f8e26867fefa1a4c590f0d719ed81ac4091da4c.zip
Test adjustment for recent changes in allocator_traits
llvm-svn: 121503
Diffstat (limited to 'libcxx/test')
-rw-r--r--libcxx/test/utilities/allocator.adaptor/types.pass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/utilities/allocator.adaptor/types.pass.cpp b/libcxx/test/utilities/allocator.adaptor/types.pass.cpp
index 13ac996328b..7beff48bbf4 100644
--- a/libcxx/test/utilities/allocator.adaptor/types.pass.cpp
+++ b/libcxx/test/utilities/allocator.adaptor/types.pass.cpp
@@ -43,7 +43,7 @@ int main()
static_assert((std::is_same<
std::scoped_allocator_adaptor<A1<int>>::size_type,
- std::size_t>::value), "");
+ std::make_unsigned<std::ptrdiff_t>::type>::value), "");
static_assert((std::is_same<
std::scoped_allocator_adaptor<A1<int>>::difference_type,
OpenPOWER on IntegriCloud