gcc/libstdc++-v3/testsuite/26_numerics/complex
Jonathan Wakely 306133e3d4 re PR libstdc++/51083 (TR1 [tr.c99.cmath.over] and C++11 [cmplx.over] overloads not constrained)
PR libstdc++/51083
	* include/ext/type_traits.h (__promote): Only define __type member
	for integral and floating point types, to prevent math functions
	participating in overload resolution for other types.
	(__promote_2, __promote_3, __promote_4): Use __promote in default
	template argument values, so deduction only succeeds for integral and
	floating point types.
	* testsuite/26_numerics/cmath/51083.cc: New.
	* testsuite/26_numerics/complex/51083.cc: New.
	* testsuite/tr1/8_c_compatibility/cmath/51083.cc: New.
	* testsuite/tr1/8_c_compatibility/complex/51083.cc: New.

From-SVN: r181321
2011-11-12 15:57:03 +00:00
..
comparison_operators complex (operator==, !=): Mark constexpr. 2010-11-08 16:18:10 +00:00
cons re PR libstdc++/49141 (26_numerics/complex/cons/48760.cc FAILs on Tru64 UNIX V5.1B, Solaris 8 and 9) 2011-05-24 14:59:13 +00:00
inserters_extractors
requirements syntax_option_type.cc: Avoid -Wall warnings. 2010-11-02 18:25:55 +00:00
value_operations chrono: Constexpr markup for is_monotonic. 2010-11-23 23:47:44 +00:00
13450.cc
50880.cc re PR libstdc++/50880 (__complex_acosh() picks wrong complex branch) 2011-10-27 11:00:25 +00:00
51083.cc re PR libstdc++/51083 (TR1 [tr.c99.cmath.over] and C++11 [cmplx.over] overloads not constrained) 2011-11-12 15:57:03 +00:00
buggy_complex.cc
dr387_2.cc
dr781_dr1137.cc complex (proj): Change return type per DR 1137. 2010-02-21 19:55:17 +00:00
dr844.cc
pow.cc denorm_min.cc: Use dg-add-options ieee. 2009-08-31 22:29:47 +00:00