gcc/libstdc++-v3/testsuite/util
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
..
common_type Update copyright years. 2019-01-01 13:31:55 +01:00
debug Update copyright years. 2019-01-01 13:31:55 +01:00
exception Update copyright years. 2019-01-01 13:31:55 +01:00
hash_fn Update copyright years. 2019-01-01 13:31:55 +01:00
io Update copyright years. 2019-01-01 13:31:55 +01:00
native_type Update copyright years. 2019-01-01 13:31:55 +01:00
performance Update copyright years. 2019-01-01 13:31:55 +01:00
regression Update copyright years. 2019-01-01 13:31:55 +01:00
statistic Update copyright years. 2019-01-01 13:31:55 +01:00
thread Update copyright years. 2019-01-01 13:31:55 +01:00
replacement_memory_operators.h Fix tests that fail in C++2a mode 2019-01-29 00:47:32 +00:00
specfun_testcase.h Update copyright years. 2019-01-01 13:31:55 +01:00
testsuite_abi.cc Update copyright years. 2019-01-01 13:31:55 +01:00
testsuite_abi.h Update copyright years. 2019-01-01 13:31:55 +01:00
testsuite_abi_check.cc Update copyright years. 2019-01-01 13:31:55 +01:00
testsuite_allocator.cc Update copyright years. 2019-01-01 13:31:55 +01:00
testsuite_allocator.h Fix tests that fail in C++2a mode 2019-01-29 00:47:32 +00:00
testsuite_api.h Update copyright years. 2019-01-01 13:31:55 +01:00
testsuite_character.cc Update copyright years. 2019-01-01 13:31:55 +01:00
testsuite_character.h Update copyright years. 2019-01-01 13:31:55 +01:00
testsuite_common_types.h Update copyright years. 2019-01-01 13:31:55 +01:00
testsuite_container_traits.h Update copyright years. 2019-01-01 13:31:55 +01:00
testsuite_containergen.h Update copyright years. 2019-01-01 13:31:55 +01:00
testsuite_containers.h Update copyright years. 2019-01-01 13:31:55 +01:00
testsuite_counter_type.h Update copyright years. 2019-01-01 13:31:55 +01:00
testsuite_error.h Update copyright years. 2019-01-01 13:31:55 +01:00
testsuite_fs.h Include name of test in filesystem-test.XXXXXX filenames 2019-01-10 11:12:00 +00:00
testsuite_greedy_ops.h Update copyright years. 2019-01-01 13:31:55 +01:00
testsuite_hooks.cc Update copyright years. 2019-01-01 13:31:55 +01:00
testsuite_hooks.h PR libstdc++/88740 Print assertion messages to stderr 2019-01-22 16:08:18 +00:00
testsuite_io.h Update copyright years. 2019-01-01 13:31:55 +01:00
testsuite_iterators.h Update copyright years. 2019-01-01 13:31:55 +01:00
testsuite_new_operators.h Update copyright years. 2019-01-01 13:31:55 +01:00
testsuite_performance.h Update copyright years. 2019-01-01 13:31:55 +01:00
testsuite_random.h Update copyright years. 2019-01-01 13:31:55 +01:00
testsuite_regex.h Update copyright years. 2019-01-01 13:31:55 +01:00
testsuite_rng.h Update copyright years. 2019-01-01 13:31:55 +01:00
testsuite_rvalref.h Update copyright years. 2019-01-01 13:31:55 +01:00
testsuite_shared.cc Update copyright years. 2019-01-01 13:31:55 +01:00
testsuite_tr1.h Update copyright years. 2019-01-01 13:31:55 +01:00