libstdc++: Fix tests that fail for C++98

libstdc++-v3/ChangeLog:

	* testsuite/27_io/basic_istream/ignore/char/94749.cc: Use 0
	instead of nullptr.
	* testsuite/27_io/basic_istream/ignore/wchar_t/94749.cc:
	Likewise.
This commit is contained in:
Jonathan Wakely 2020-07-31 19:58:03 +01:00
parent f07fa7a31c
commit 8011f718e2
2 changed files with 4 additions and 4 deletions

View File

@ -165,7 +165,7 @@ test05()
VERIFY(in.gcount() == std::numeric_limits<std::streamsize>::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<std::streamsize>::max());
VERIFY(in.get() == T::eof());
delete in.rdbuf(nullptr);
delete in.rdbuf(0);
}
int

View File

@ -165,7 +165,7 @@ test05()
VERIFY(in.gcount() == std::numeric_limits<std::streamsize>::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<std::streamsize>::max());
VERIFY(in.get() == T::eof());
delete in.rdbuf(nullptr);
delete in.rdbuf(0);
}
int