From 1b7fd6854dc8a1d9dc9224d3fd4f77f6d0e2e1a9 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 13 Jun 2021 04:58:53 +0300 Subject: [PATCH] Revert "Disable failing tests on g++-7/c++17" This reverts commit b20191f8d70c6e4fc7e93a9b3a4248c76746851f. --- test/failed_constexpr_test.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/test/failed_constexpr_test.cpp b/test/failed_constexpr_test.cpp index 1492e2c..e9ccab5 100644 --- a/test/failed_constexpr_test.cpp +++ b/test/failed_constexpr_test.cpp @@ -35,28 +35,16 @@ BOOST_STATIC_ASSERT( !ec3 ); constexpr error_condition en1( 1, system_category() ); -#if __GNUC__ == 7 && __cplusplus == 201703L -// `cat_ != 0` is not a constant expression -#else - BOOST_STATIC_ASSERT( en1.failed() ); BOOST_STATIC_ASSERT( en1 ); BOOST_STATIC_ASSERT( !!en1 ); -#endif - constexpr error_condition en2( 2, generic_category() ); -#if __GNUC__ == 7 && __cplusplus == 201703L -// `cat_ != 0` is not a constant expression -#else - BOOST_STATIC_ASSERT( en2.failed() ); BOOST_STATIC_ASSERT( en2 ); BOOST_STATIC_ASSERT( !!en2 ); -#endif - constexpr error_condition en3; BOOST_STATIC_ASSERT( !en3.failed() );