Commit 304d79dc by David Edelsohn Committed by David Edelsohn

7.cc: Guard with _GLIBCPP_USE_WCHAR_T.

        * testsuite/22_locale/num_put/put/char/7.cc: Guard with
        _GLIBCPP_USE_WCHAR_T.

From-SVN: r68883
parent af261903
2003-07-03 David Edelsohn <edelsohn@gnu.org>
* testsuite/22_locale/num_put/put/char/7.cc: Guard with
_GLIBCPP_USE_WCHAR_T.
2003-07-02 Paolo Carlini <pcarlini@unitus.it> 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
* include/bits/basic_string.tcc (_M_replace_aux): Constify * include/bits/basic_string.tcc (_M_replace_aux): Constify
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#include <locale> #include <locale>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#ifdef _GLIBCPP_USE_WCHAR_T
// libstdc++/9828 // libstdc++/9828
void test01() void test01()
{ {
...@@ -37,9 +38,12 @@ void test01() ...@@ -37,9 +38,12 @@ void test01()
np.put(stream, wcout, ' ', static_cast<long>(10)); np.put(stream, wcout, ' ', static_cast<long>(10));
VERIFY( stream.str() == "10" ); VERIFY( stream.str() == "10" );
} }
#endif
int main() int main()
{ {
#ifdef _GLIBCPP_USE_WCHAR_T
test01(); test01();
#endif
return 0; return 0;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment