gcc/libstdc++-v3/testsuite/ext
Jonathan Wakely 2104ca71da Fix tests that fail in C++2a mode
The nested typedefs in std::reference_wrapper are no longer present in
C++2a mode, so skip the tests that check for them.

The addition of the [[nodiscard]] attribute to a few functions causes
some failures in tests that intentionally ignore the return value.
Casting the result to void suppresses the new warnings.

	* testsuite/20_util/reference_wrapper/result_type.cc: Disable for
	C++2a.
	* testsuite/20_util/reference_wrapper/typedefs-2.cc: Likewise.
	* testsuite/20_util/reference_wrapper/typedefs-3.cc: Likewise.
	* testsuite/20_util/reference_wrapper/typedefs.cc: Likewise.
	* testsuite/30_threads/async/54297.cc: Suppress nodiscard warning.
	* testsuite/ext/array_allocator/26875.cc: Likewise.
	* testsuite/ext/pool_allocator/allocate_chunk.cc: Likewise.
	* testsuite/util/replacement_memory_operators.h: Likewise.
	* testsuite/util/testsuite_allocator.h: Likewise.

From-SVN: r268355
2019-01-29 00:47:32 +00:00
..
array_allocator Fix tests that fail in C++2a mode 2019-01-29 00:47:32 +00:00
bitmap_allocator Update copyright years. 2019-01-01 13:31:55 +01:00
codecvt Update copyright years. 2019-01-01 13:31:55 +01:00
concurrence_lock_error Update copyright years. 2019-01-01 13:31:55 +01:00
concurrence_unlock_error Update copyright years. 2019-01-01 13:31:55 +01:00
debug_allocator Update copyright years. 2019-01-01 13:31:55 +01:00
enc_filebuf Update copyright years. 2019-01-01 13:31:55 +01:00
ext_pointer Update copyright years. 2019-01-01 13:31:55 +01:00
forced_error Update copyright years. 2019-01-01 13:31:55 +01:00
iota Update copyright years. 2019-01-01 13:31:55 +01:00
is_heap Update copyright years. 2019-01-01 13:31:55 +01:00
is_sorted Update copyright years. 2019-01-01 13:31:55 +01:00
malloc_allocator Update copyright years. 2019-01-01 13:31:55 +01:00
mt_allocator Update copyright years. 2019-01-01 13:31:55 +01:00
new_allocator Update copyright years. 2019-01-01 13:31:55 +01:00
numeric_traits Update copyright years. 2019-01-01 13:31:55 +01:00
pb_ds Update copyright years. 2019-01-01 13:31:55 +01:00
pool_allocator Fix tests that fail in C++2a mode 2019-01-29 00:47:32 +00:00
profile Update copyright years. 2019-01-01 13:31:55 +01:00
random Update copyright years. 2019-01-01 13:31:55 +01:00
rope Update copyright years. 2019-01-01 13:31:55 +01:00
shared_ptr Update copyright years. 2019-01-01 13:31:55 +01:00
slist Update copyright years. 2019-01-01 13:31:55 +01:00
special_functions Update copyright years. 2019-01-01 13:31:55 +01:00
stdio_filebuf Update copyright years. 2019-01-01 13:31:55 +01:00
stdio_sync_filebuf Update copyright years. 2019-01-01 13:31:55 +01:00
throw_allocator Update copyright years. 2019-01-01 13:31:55 +01:00
throw_value Update copyright years. 2019-01-01 13:31:55 +01:00
type_traits Update copyright years. 2019-01-01 13:31:55 +01:00
vstring Update copyright years. 2019-01-01 13:31:55 +01:00
concept_checks.cc Update copyright years. 2019-01-01 13:31:55 +01:00
headers.cc Update copyright years. 2019-01-01 13:31:55 +01:00
median.cc Update copyright years. 2019-01-01 13:31:55 +01:00
pod_char_traits.cc Update copyright years. 2019-01-01 13:31:55 +01:00