gcc/libstdc++-v3/testsuite/21_strings
Paolo Carlini dcc61724f1 re PR libstdc++/4548 (When reserving a string to become smaller, program crashes)
2001-11-21  Paolo Carlini  <pcarlini@unitus.it>

	PR libstdc++/4548
	* include/bits/basic_string.tcc (basic_string::reserve):  Never shrink
	below the current size.
	* testsuite/21_strings/capacity.cc (test02):  Add test.

From-SVN: r47246
2001-11-21 22:04:53 +00:00
..
append.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00
assign.cc basic_string.h: Tweaks. 2001-10-31 08:27:20 +00:00
c_strings.cc c_strings.cc (test01, test02): Increase `carray' size. 2001-09-26 01:45:49 +00:00
capacity.cc re PR libstdc++/4548 (When reserving a string to become smaller, program crashes) 2001-11-21 22:04:53 +00:00
char_traits_requirements.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00
char_traits_typedefs.cc char_traits.cc: Move to ... 2001-02-16 23:58:28 +00:00
compare.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00
ctor_copy_dtor.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00
element_access.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00
find.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00
insert.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00
inserters_extractors.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00
invariants.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00
nonmember.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00
operations.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00
replace.cc basic_string.h: Tweaks. 2001-10-31 08:27:20 +00:00
rfind.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00
substr.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00