Change some #ifdefs to #if - thanks to Dexon for thge catch.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@243641 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Marshall Clow 2015-07-30 13:56:00 +00:00
parent 5514d36c43
commit 36dc080bf6
2 changed files with 4 additions and 4 deletions

View File

@ -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*>();

View File

@ -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*>();