diff options
Diffstat (limited to 'pstl/test/std/algorithms/alg.modifying.operations/alg.copy/copy_if.pass.cpp')
-rw-r--r-- | pstl/test/std/algorithms/alg.modifying.operations/alg.copy/copy_if.pass.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pstl/test/std/algorithms/alg.modifying.operations/alg.copy/copy_if.pass.cpp b/pstl/test/std/algorithms/alg.modifying.operations/alg.copy/copy_if.pass.cpp index a21c2231c666..692907e0f92e 100644 --- a/pstl/test/std/algorithms/alg.modifying.operations/alg.copy/copy_if.pass.cpp +++ b/pstl/test/std/algorithms/alg.modifying.operations/alg.copy/copy_if.pass.cpp @@ -21,7 +21,7 @@ using namespace TestUtils; struct run_copy_if { -#if _PSTL_ICC_16_VC14_TEST_PAR_TBB_RT_RELEASE_64_BROKEN // dummy specializations to skip testing in case of broken configuration +#if defined(_PSTL_ICC_16_VC14_TEST_PAR_TBB_RT_RELEASE_64_BROKEN) // dummy specializations to skip testing in case of broken configuration template <typename InputIterator, typename OutputIterator, typename OutputIterator2, typename Size, typename Predicate, typename T> void @@ -132,11 +132,11 @@ main() test<int32_t>(-666, [](const int32_t& x) { return x != 42; }, [](size_t j) { return ((j + 1) % 5 & 2) != 0 ? int32_t(j + 1) : 42; }); -#if !_PSTL_ICC_17_TEST_MAC_RELEASE_32_BROKEN +#if !defined(_PSTL_ICC_17_TEST_MAC_RELEASE_32_BROKEN) test<Number>(Number(42, OddTag()), IsMultiple(3, OddTag()), [](int32_t j) { return Number(j, OddTag()); }); #endif -#if !_PSTL_ICC_16_17_TEST_REDUCTION_RELEASE_BROKEN +#if !defined(_PSTL_ICC_16_17_TEST_REDUCTION_RELEASE_BROKEN) test<int32_t>(-666, [](const int32_t&) { return true; }, [](size_t j) { return j; }, false); #endif |