From 53a420fba21cf1644972b34dcd811a43cdb8368d Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Mon, 2 Jan 2017 19:18:58 +0000 Subject: Vendor import of libc++ trunk r290819: https://llvm.org/svn/llvm-project/libcxx/trunk@290819 --- test/std/algorithms/alg.nonmodifying/mismatch/mismatch_pred.pass.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/std/algorithms/alg.nonmodifying/mismatch/mismatch_pred.pass.cpp') diff --git a/test/std/algorithms/alg.nonmodifying/mismatch/mismatch_pred.pass.cpp b/test/std/algorithms/alg.nonmodifying/mismatch/mismatch_pred.pass.cpp index 054bc656cdb1..d78809b48524 100644 --- a/test/std/algorithms/alg.nonmodifying/mismatch/mismatch_pred.pass.cpp +++ b/test/std/algorithms/alg.nonmodifying/mismatch/mismatch_pred.pass.cpp @@ -49,7 +49,7 @@ int main() assert(bcp.count() > 0 && bcp.count() < sa); bcp.reset(); -#ifdef HAS_FOUR_ITERATOR_VERSION +#if TEST_STD_VER >= 14 assert(std::mismatch(II(ia), II(ia + sa), II(ib), II(ib + sb), EQ()) == (std::pair(II(ia+3), II(ib+3)))); assert(std::mismatch(RAI(ia), RAI(ia + sa), RAI(ib), RAI(ib + sb), EQ()) @@ -63,7 +63,7 @@ int main() assert(std::mismatch(ia, ia + sa, ib, EQ()) == (std::pair(ia+3,ib+3))); -#ifdef HAS_FOUR_ITERATOR_VERSION +#if TEST_STD_VER >= 14 assert(std::mismatch(ia, ia + sa, ib, ib + sb, EQ()) == (std::pair(ia+3,ib+3))); assert(std::mismatch(ia, ia + sa, ib, ib + 2, EQ()) == -- cgit v1.2.3