libstdc++: Ignore deprecated warnings [PR104037]

The std::pointer_to_binary_function utility was deprecated in C++11 and
removed in C++17. Libstdc++ has started to warn about using it, so
suppress the warnings for this test.

gcc/testsuite/ChangeLog:

	PR testsuite/104037
	* g++.old-deja/g++.robertl/eb43.C: Ad -Wno-deprecated.
This commit is contained in:
Jonathan Wakely 2022-01-14 22:08:16 +00:00
parent 15630e6e9e
commit bca1c431af
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@
// to pointer_to_binary_function, which has an `explicit' constructor.
// { dg-prune-output "note" }
// { dg-options "-Wno-deprecated" }
#include <vector>
#include <algorithm>