diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2015-07-30 13:56:00 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2015-07-30 13:56:00 +0000 |
commit | 40631133b4997c593bd2af7877ae71c2461727c5 (patch) | |
tree | 65c5554ea3714616bf7f287528d0a9e8383687f9 /libcxx/test/std/algorithms/alg.sorting | |
parent | 3d9d81fbb134f507f815845bbec8c754d56bb304 (diff) | |
download | bcm5719-llvm-40631133b4997c593bd2af7877ae71c2461727c5.tar.gz bcm5719-llvm-40631133b4997c593bd2af7877ae71c2461727c5.zip |
Change some #ifdefs to #if - thanks to Dexon for thge catch.
llvm-svn: 243641
Diffstat (limited to 'libcxx/test/std/algorithms/alg.sorting')
-rw-r--r-- | libcxx/test/std/algorithms/alg.sorting/alg.merge/inplace_merge.pass.cpp | 4 | ||||
-rw-r--r-- | libcxx/test/std/algorithms/alg.sorting/alg.merge/inplace_merge_comp.pass.cpp | 4 |
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*>(); |