From: Daniel Kruegler Date: Wed, 15 Oct 2014 21:08:59 +0000 (+0000) Subject: re PR c++/53000 (Conditional operator does not behave as standardized) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=37cfabb0b4263b12d84037c608bfe6e854cdda01;p=gcc.git re PR c++/53000 (Conditional operator does not behave as standardized) 2014-10-15 Daniel Krugler * testsuite/20_util/common_type/requirements/sfinae_friendly_1.cc: Enable tests predicated on PR c++/53000. From-SVN: r216287 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 89b86eb1b20..b215f004401 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2014-10-15 Daniel Krugler + + * testsuite/20_util/common_type/requirements/sfinae_friendly_1.cc: + Enable tests predicated on PR c++/53000. + 2014-10-15 François Dumont Jonathan Wakely diff --git a/libstdc++-v3/testsuite/20_util/common_type/requirements/sfinae_friendly_1.cc b/libstdc++-v3/testsuite/20_util/common_type/requirements/sfinae_friendly_1.cc index 3a4251cb736..7f83b8cfc7c 100644 --- a/libstdc++-v3/testsuite/20_util/common_type/requirements/sfinae_friendly_1.cc +++ b/libstdc++-v3/testsuite/20_util/common_type/requirements/sfinae_friendly_1.cc @@ -21,9 +21,6 @@ #include #include -//TODO: Uncomment this once gcc bug 53000 has been resolved: -//#define HAS_53000_FIXED - // Helper types: struct has_type_impl { @@ -246,15 +243,17 @@ static_assert(is_type, static_assert(is_type, Abstract*>(), ""); static_assert(is_type, Abstract*>(), ""); -#ifdef HAS_53000_FIXED static_assert(is_type, Abstract>(), ""); static_assert(is_type, Abstract>(), ""); +static_assert(is_type, Abstract>(), ""); static_assert(is_type, Ukn>(), ""); -static_assert(is_type, +static_assert(is_type, + Ukn>(), ""); +static_assert(is_type, Ukn>(), ""); -#endif static_assert(is_type, RX12>(), ""); static_assert(is_type, RX21>(), "");