diff options
| author | Eric Fiselier <eric@efcs.ca> | 2014-11-14 03:16:12 +0000 |
|---|---|---|
| committer | Eric Fiselier <eric@efcs.ca> | 2014-11-14 03:16:12 +0000 |
| commit | 950a166710db5ca1ff25f8ed5fd2be3c210e1a81 (patch) | |
| tree | bc1ecd09cb4290af5f5d404e52d7915aeb6352d3 /libcxx/test/strings/basic.string/string.capacity/capacity.pass.cpp | |
| parent | 4c12c6cf3b08151ca44e84669f96942da6809c28 (diff) | |
| download | bcm5719-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/capacity.pass.cpp')
0 files changed, 0 insertions, 0 deletions

