2002-11-28 Phil Edwards <pme@gcc.gnu.org>
PR libstdc++/8716
* testsuite/21_strings/ctor_copy_dtor.cc (test05): Also test
the NULL-pointer, zero-size case.
From-SVN: r59616
+2002-11-28 Phil Edwards <pme@gcc.gnu.org>
+
+ PR libstdc++/8716
+ * testsuite/21_strings/ctor_copy_dtor.cc (test05): Also test
+ the NULL-pointer, zero-size case.
+
2002-11-28 Jonathan Wakely <redi@gcc.gnu.org>
* docs/html/faq/index.html: Add tip about a namespace for extensions.
std::vector<char> empty;
std::string empty2(empty.begin(), empty.end());
+
+ // libstdc++/8716 (same underlying situation, same fix)
+ char const * s = NULL;
+ std::string zero_length_built_with_NULL(s,0);
}
int main()