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
This commit is contained in:
David Edelsohn 2003-07-03 14:20:29 +00:00 committed by David Edelsohn
parent af2619030a
commit 304d79dc0a
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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>
* include/bits/basic_string.tcc (_M_replace_aux): Constify

View File

@ -23,6 +23,7 @@
#include <locale>
#include <testsuite_hooks.h>
#ifdef _GLIBCPP_USE_WCHAR_T
// libstdc++/9828
void test01()
{
@ -37,9 +38,12 @@ void test01()
np.put(stream, wcout, ' ', static_cast<long>(10));
VERIFY( stream.str() == "10" );
}
#endif
int main()
{
#ifdef _GLIBCPP_USE_WCHAR_T
test01();
#endif
return 0;
}