aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@codesourcery.com>2014-06-11 00:20:45 +0000
committerMaciej W. Rozycki <macro@gcc.gnu.org>2014-06-11 00:20:45 +0000
commit58170a6621f1677c692634d28c4f67a24da42b13 (patch)
treec8511afd3bcd2b38d1506927f1dfd0e3ce2fbceb
parentc0921b24f74f7fbd081c3b2a17b78a7e0afbddd4 (diff)
downloadgcc-58170a6621f1677c692634d28c4f67a24da42b13.zip
gcc-58170a6621f1677c692634d28c4f67a24da42b13.tar.gz
gcc-58170a6621f1677c692634d28c4f67a24da42b13.tar.bz2
4402.cc (test02): Use `wcout' rather than `cout'.
* testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/4402.cc (test02) [TEST_NUMPUT_VERBOSE]: Use `wcout' rather than `cout'. From-SVN: r211433
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/4402.cc8
2 files changed, 9 insertions, 4 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 6368e04..ee2f8ff 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2014-06-11 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/4402.cc
+ (test02) [TEST_NUMPUT_VERBOSE]: Use `wcout' rather than `cout'.
+
2014-06-10 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/61390
diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/4402.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/4402.cc
index 9fe51a7..64793b7 100644
--- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/4402.cc
+++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/4402.cc
@@ -42,8 +42,8 @@ test02()
wchar_t largebuf[512];
swprintf(largebuf, 512, L"%.*Le", prec, val);
#ifdef TEST_NUMPUT_VERBOSE
- cout << "expect: " << largebuf << endl;
- cout << "result: " << os.str() << endl;
+ wcout << "expect: " << largebuf << endl;
+ wcout << "result: " << os.str() << endl;
#endif
VERIFY( os && os.str() == largebuf );
@@ -58,8 +58,8 @@ test02()
swprintf(largebuf, 512, L"%.*f", 3, val2);
#ifdef TEST_NUMPUT_VERBOSE
- cout << "expect: " << largebuf << endl;
- cout << "result: " << os2.str() << endl;
+ wcout << "expect: " << largebuf << endl;
+ wcout << "result: " << os2.str() << endl;
#endif
VERIFY( os2 && os2.str() == largebuf );
}