]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
4402.cc (test02): Use `wcout' rather than `cout'.
authorMaciej W. Rozycki <macro@codesourcery.com>
Wed, 11 Jun 2014 00:20:45 +0000 (00:20 +0000)
committerMaciej W. Rozycki <macro@gcc.gnu.org>
Wed, 11 Jun 2014 00:20:45 +0000 (00:20 +0000)
* testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/4402.cc
(test02) [TEST_NUMPUT_VERBOSE]: Use `wcout' rather than `cout'.

From-SVN: r211433

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/4402.cc

index 6368e042140e3b7a793c719d112ca4cdd614a4fb..ee2f8ff79fb8d057ae59a26c6ef8cb0ceb37e77d 100644 (file)
@@ -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
index 9fe51a7c2ffef8418e48fdc9cf36d7e29b844e05..64793b7454369c939798f6913a81f15acf129956 100644 (file)
@@ -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 );
 }