diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/94749.cc b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/94749.cc index 32b604d5b15..21097c2bff1 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/94749.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/94749.cc @@ -165,7 +165,7 @@ test05() VERIFY(in.gcount() == std::numeric_limits::max()); VERIFY(in.get() == T::eof()); - delete in.rdbuf(nullptr); + delete in.rdbuf(0); } void @@ -210,7 +210,7 @@ test06() VERIFY(in.gcount() == std::numeric_limits::max()); VERIFY(in.get() == T::eof()); - delete in.rdbuf(nullptr); + delete in.rdbuf(0); } int diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/94749.cc b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/94749.cc index 23d3a0ad170..2473588d307 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/94749.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/94749.cc @@ -165,7 +165,7 @@ test05() VERIFY(in.gcount() == std::numeric_limits::max()); VERIFY(in.get() == T::eof()); - delete in.rdbuf(nullptr); + delete in.rdbuf(0); } void @@ -210,7 +210,7 @@ test06() VERIFY(in.gcount() == std::numeric_limits::max()); VERIFY(in.get() == T::eof()); - delete in.rdbuf(nullptr); + delete in.rdbuf(0); } int