gcc/libstdc++-v3/testsuite/ext/vstring
Jonathan Wakely 1319041924 Avoid reallocation for basic_string::clear()
PR libstdc++/56166
	PR libstdc++/77582
	* include/bits/basic_string.h (basic_string::clear()): Drop reference
	and use empty rep.
	* include/ext/rc_string_base.h (__rc_string_base::_M_clear()):
	Likewise.
	* testsuite/21_strings/basic_string/56166.cc: New.
	* testsuite/ext/vstring/modifiers/clear/56166.cc: New.

From-SVN: r240447
2016-09-23 18:25:34 +01:00
..
capacity Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
cons Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
element_access Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
hash Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
inserters_extractors
modifiers Avoid reallocation for basic_string::clear() 2016-09-23 18:25:34 +01:00
operators Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
requirements Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
types
init-list.cc Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
range_access.cc Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00