gcc/libstdc++-v3/testsuite/20_util/unique_ptr
Jonathan Wakely 07b70dfc4e libstdc++: Add testsuite proc for testing deprecated features
This change adds options to tests that explicitly use deprecated
features, so that -D_GLIBCXX_USE_DEPRECATED=0 can be used to run the
rest of the testsuite. The tests that explicitly/intentionally use
deprecated features will still be able to use them, but they can be
disabled for the majority of tests.

Signed-off-by: Jonathan Wakely <jwakely@redhat.com>

libstdc++-v3/ChangeLog:

	* testsuite/23_containers/forward_list/operations/3.cc:
	Use lambda instead of std::bind2nd.
	* testsuite/20_util/function_objects/binders/3113.cc: Add
	options for testing deprecated features.
	* testsuite/20_util/pair/cons/99957.cc: Likewise.
	* testsuite/20_util/shared_ptr/assign/auto_ptr.cc: Likewise.
	* testsuite/20_util/shared_ptr/assign/auto_ptr_neg.cc: Likewise.
	* testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue.cc:
	Likewise.
	* testsuite/20_util/shared_ptr/cons/43820_neg.cc: Likewise.
	* testsuite/20_util/shared_ptr/cons/auto_ptr.cc: Likewise.
	* testsuite/20_util/shared_ptr/cons/auto_ptr_neg.cc: Likewise.
	* testsuite/20_util/shared_ptr/creation/dr925.cc: Likewise.
	* testsuite/20_util/unique_ptr/cons/auto_ptr.cc: Likewise.
	* testsuite/20_util/unique_ptr/cons/auto_ptr_neg.cc: Likewise.
	* testsuite/ext/pb_ds/example/priority_queue_erase_if.cc:
	Likewise.
	* testsuite/ext/pb_ds/example/priority_queue_split_join.cc:
	Likewise.
	* testsuite/lib/dg-options.exp (dg_add_options_using-deprecated):
	New proc.
2021-08-03 15:30:17 +01:00
..
assign Update copyright years. 2021-01-04 10:26:59 +01:00
comparison Update copyright years. 2021-01-04 10:26:59 +01:00
cons libstdc++: Add testsuite proc for testing deprecated features 2021-08-03 15:30:17 +01:00
creation Update copyright years. 2021-01-04 10:26:59 +01:00
hash Update copyright years. 2021-01-04 10:26:59 +01:00
io libstdc++: Only test writing to wostream if supported [PR 98725] 2021-01-18 14:23:13 +00:00
modifiers Update copyright years. 2021-01-04 10:26:59 +01:00
requirements Update copyright years. 2021-01-04 10:26:59 +01:00
specialized_algorithms libstdc++: Remove redundant -std=gnu++17 option from algorithm tests 2021-05-10 16:22:54 +01:00
54351.cc Update copyright years. 2021-01-04 10:26:59 +01:00
101236.cc libstdc++: Allow unique_ptr<Incomplete[]>::operator[] [PR 101236] 2021-06-28 14:20:55 +01:00
dr2228.cc Update copyright years. 2021-01-04 10:26:59 +01:00
dr2899.cc Update copyright years. 2021-01-04 10:26:59 +01:00
lwg2762.cc libstdc++: Revert changes to std::unique_ptr<T[]>::operator[] [PR 101271] 2021-07-02 12:15:28 +01:00