Author: marshall Date: Mon Jan 15 11:59:09 2018 New Revision: 322507 URL: http://llvm.org/viewvc/llvm-project?rev=322507&view=rev Log: Fix constexpr failure on C++11-based buildbots.
Modified: libcxx/trunk/test/std/algorithms/alg.nonmodifying/alg.find.end/find_end_pred.pass.cpp Modified: libcxx/trunk/test/std/algorithms/alg.nonmodifying/alg.find.end/find_end_pred.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/algorithms/alg.nonmodifying/alg.find.end/find_end_pred.pass.cpp?rev=322507&r1=322506&r2=322507&view=diff ============================================================================== --- libcxx/trunk/test/std/algorithms/alg.nonmodifying/alg.find.end/find_end_pred.pass.cpp (original) +++ libcxx/trunk/test/std/algorithms/alg.nonmodifying/alg.find.end/find_end_pred.pass.cpp Mon Jan 15 11:59:09 2018 @@ -25,7 +25,7 @@ struct count_equal { static unsigned count; template <class T> - TEST_CONSTEXPR bool operator()(const T& x, const T& y) + TEST_CONSTEXPR_CXX14 bool operator()(const T& x, const T& y) {++count; return x == y;} }; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits