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:
parent
af2619030a
commit
304d79dc0a
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user