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:
parent
5514d36c43
commit
36dc080bf6
@ -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*>();
|
||||
|
@ -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*>();
|
||||
|
Loading…
x
Reference in New Issue
Block a user