* testsuite/21_strings/basic_string/operators/char/1.cc: Verify the
string contents.
From-SVN: r227660
+2015-09-10 Jonathan Wakely <jwakely@redhat.com>
+
+ * testsuite/21_strings/basic_string/operators/char/1.cc: Verify the
+ string contents.
+
2015-09-09 Jonathan Wakely <jwakely@redhat.com>
* doc/xml/manual/using.xml (_GLIBCXX_ASSERTIONS): Document.
str1 = std::string("8-chars_") + "8-chars_";
str1.c_str();
// printf("1:%s\n", str1.c_str());
+ VERIFY( str1 == "8-chars_8-chars_" );
str2 = str1 + "7-chars";
// printf("2:%s\n", str1.c_str()); //str1 is gone
str1.c_str();
+ VERIFY( str1 == "8-chars_8-chars_" );
return 0;
}