gcc/libstdc++-v3/testsuite/experimental
Jonathan Wakely 9e28a77462 Remove use of std::abs in experimental::{gcd,lcm}
PR libstdc++/77801
	* include/experimental/numeric: Include <numeric>.
	(__abs): Define.
	(gcd, lcm): Use __abs instead of std::abs.
	* testsuite/experimental/numeric/77801.cc: New test.
	* testsuite/experimental/numeric/gcd.cc: Test unsigned inputs.
	* testsuite/experimental/numeric/lcm.cc: Likewise.

From-SVN: r240656
2016-09-30 14:43:37 +01:00
..
algorithm Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
any Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
array Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
chrono Adjust testcases for C++17 compatibility 2016-08-17 14:39:05 +01:00
deque Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
filesystem Check for overflow in filesystem::last_write_time 2016-09-28 19:02:25 +01:00
forward_list Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
functional Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
iterator Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
list Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
map Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
memory Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
memory_resource Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
numeric Remove use of std::abs in experimental::{gcd,lcm} 2016-09-30 14:43:37 +01:00
optional Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
propagate_const Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
random Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
ratio Adjust testcases for C++17 compatibility 2016-08-17 14:39:05 +01:00
set Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
string Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
string_view Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
system_error Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
tuple Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
type_erased_allocator Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
type_traits Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
unordered_map Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
unordered_set Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
vector Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
feat-cxx14.cc Use dg-do preprocess instead of compile for tests 2016-08-23 11:13:31 +01:00
feat-lib-fund.cc Use dg-do preprocess instead of compile for tests 2016-08-23 11:13:31 +01:00