]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/27_io/objects/wchar_t/12048-4.cc
[multiple changes]
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / objects / wchar_t / 12048-4.cc
index fc1191f9f2e97eb624894e64a42515b77912cb4c..3649e7e22597616982fa610e0fb01f3736443956 100644 (file)
@@ -23,7 +23,7 @@
 void
 test01()
 {
-  std::freopen("cin_unget-1.txt", "r", stdin);
+  VERIFY( std::freopen("cin_unget-1.txt", "r", stdin) );
 
   wchar_t buf[2];
   VERIFY( std::wcin.rdbuf()->sgetn(buf, 2) == 2 );