summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libcxx/test/std/algorithms/alg.sorting/alg.merge/inplace_merge.pass.cpp4
-rw-r--r--libcxx/test/std/algorithms/alg.sorting/alg.merge/inplace_merge_comp.pass.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.merge/inplace_merge.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.merge/inplace_merge.pass.cpp
index 9065b991d53..829157353fb 100644
--- a/libcxx/test/std/algorithms/alg.sorting/alg.merge/inplace_merge.pass.cpp
+++ b/libcxx/test/std/algorithms/alg.sorting/alg.merge/inplace_merge.pass.cpp
@@ -20,7 +20,7 @@
#include "test_iterators.h"
-#ifndef TEST_STD_VER >= 11
+#if TEST_STD_VER >= 11
struct S {
S() : i_(0) {}
S(int i) : i_(i) {}
@@ -100,7 +100,7 @@ int main()
test<random_access_iterator<int*> >();
test<int*>();
-#ifndef TEST_STD_VER >= 11
+#if TEST_STD_VER >= 11
test<bidirectional_iterator<S*> >();
test<random_access_iterator<S*> >();
test<S*>();
diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.merge/inplace_merge_comp.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.merge/inplace_merge_comp.pass.cpp
index a9b14fca2fb..ca6f8e40cbd 100644
--- a/libcxx/test/std/algorithms/alg.sorting/alg.merge/inplace_merge_comp.pass.cpp
+++ b/libcxx/test/std/algorithms/alg.sorting/alg.merge/inplace_merge_comp.pass.cpp
@@ -21,7 +21,7 @@
#include "test_macros.h"
-#ifndef TEST_STD_VER >= 11
+#if TEST_STD_VER >= 11
#include <memory>
struct indirect_less
@@ -119,7 +119,7 @@ int main()
test<random_access_iterator<int*> >();
test<int*>();
-#ifndef TEST_STD_VER >= 11
+#if TEST_STD_VER >= 11
test<bidirectional_iterator<S*> >();
test<random_access_iterator<S*> >();
test<S*>();
OpenPOWER on IntegriCloud