forked from OSchip/llvm-project
Improve portability of vector tests. Patch from STL@microsoft.com
llvm-svn: 272745
This commit is contained in:
parent
78f8ce484f
commit
5d3e09ecc1
|
@ -43,7 +43,7 @@ int main()
|
|||
v.push_back(1);
|
||||
assert(is_contiguous_container_asan_correct(v));
|
||||
v.shrink_to_fit();
|
||||
assert(v.capacity() == 200);
|
||||
LIBCPP_ASSERT(v.capacity() == 200); // assumes libc++'s 2x growth factor
|
||||
assert(v.size() == 101);
|
||||
assert(is_contiguous_container_asan_correct(v));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue