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

llvm-svn: 243641
This commit is contained in:
Marshall Clow 2015-07-30 13:56:00 +00:00
parent 3d9d81fbb1
commit 40631133b4
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*>();