llvm-project/libcxx/test/std/input.output
Peter Collingbourne 22c651c577 libcxx: Fix for basic_stringbuf::seekoff() after r320604.
As a result of this change, the basic_stringbuf constructor that
takes a mode ends up leaving __hm_ set to 0, causing the comparison
"__hm_ - __str_.data() < __noff" in seekoff() to succeed, which caused
the function to incorrectly return -1. The fix is to account for the
possibility of __hm_ being 0 when computing the distance from __hm_
to the start of the string.

Differential Revision: https://reviews.llvm.org/D41319

llvm-svn: 321124
2017-12-19 23:33:16 +00:00
..
file.streams Move tests for libc++ configurations into libcxx/ test subdirectory 2017-05-12 01:49:32 +00:00
input.output.general
iostream.format [libcxx][fixup] Mark std::basic_istream::getline tests as failing for previous libcxx versions. 2017-11-22 19:36:54 +00:00
iostream.forward [libcxx] [test] D26314: Fix MSVC warning C4189 "local variable is initialized but not referenced". 2016-11-14 17:35:14 +00:00
iostream.objects Move remaining _LIBCPP_VERSION tests into test/libcxx 2016-06-22 02:23:22 +00:00
iostreams.base More configuration changes for running the test suite against MSVC's STL 2017-01-18 03:57:38 +00:00
iostreams.requirements
stream.buffers Mark test as a long-test 2017-10-12 08:46:05 +00:00
string.streams libcxx: Fix for basic_stringbuf::seekoff() after r320604. 2017-12-19 23:33:16 +00:00
nothing_to_do.pass.cpp