Change some #ifdefs to #if - thanks to Dexon for thge catch.
llvm-svn: 243641
This commit is contained in:
parent
3d9d81fbb1
commit
40631133b4
|
@ -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…
Reference in New Issue