summaryrefslogtreecommitdiffstats
path: root/libcxx/test/strings/basic.string/string.capacity/shrink_to_fit.pass.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2014-11-14 03:16:12 +0000
committerEric Fiselier <eric@efcs.ca>2014-11-14 03:16:12 +0000
commit950a166710db5ca1ff25f8ed5fd2be3c210e1a81 (patch)
treebc1ecd09cb4290af5f5d404e52d7915aeb6352d3 /libcxx/test/strings/basic.string/string.capacity/shrink_to_fit.pass.cpp
parent4c12c6cf3b08151ca44e84669f96942da6809c28 (diff)
downloadbcm5719-llvm-950a166710db5ca1ff25f8ed5fd2be3c210e1a81.tar.gz
bcm5719-llvm-950a166710db5ca1ff25f8ed5fd2be3c210e1a81.zip
Split string capacity test into two parts and mark one part as UNSUPPORTED when using sanitizers.
The test is split such that: - max_size.pass.cpp tests that string::resize() fails to allocator for max_size and max_size -1 - over_max_size.pass.cpp tests that string::resize() throws a length error for max_size + 1 The test was split into two because max_size.pass.cpp cannot pass with sanitizers but over_max_size.pass.cpp can. llvm-svn: 221969
Diffstat (limited to 'libcxx/test/strings/basic.string/string.capacity/shrink_to_fit.pass.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud