summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/containers/associative/set/set.cons/copy.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/containers/associative/set/set.cons/copy.pass.cpp')
-rw-r--r--libcxx/test/std/containers/associative/set/set.cons/copy.pass.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libcxx/test/std/containers/associative/set/set.cons/copy.pass.cpp b/libcxx/test/std/containers/associative/set/set.cons/copy.pass.cpp
index a0e34e48de4..7bd6342fcc6 100644
--- a/libcxx/test/std/containers/associative/set/set.cons/copy.pass.cpp
+++ b/libcxx/test/std/containers/associative/set/set.cons/copy.pass.cpp
@@ -16,6 +16,7 @@
#include <set>
#include <cassert>
+#include "test_macros.h"
#include "../../../test_compare.h"
#include "test_allocator.h"
@@ -55,7 +56,7 @@ int main()
assert(*next(mo.begin()) == 2);
assert(*next(mo.begin(), 2) == 3);
}
-#ifndef _LIBCPP_HAS_NO_ADVANCED_SFINAE
+#if TEST_STD_VER >= 11
{
typedef int V;
V ar[] =
@@ -90,5 +91,5 @@ int main()
assert(*next(mo.begin()) == 2);
assert(*next(mo.begin(), 2) == 3);
}
-#endif // _LIBCPP_HAS_NO_ADVANCED_SFINAE
+#endif
}
OpenPOWER on IntegriCloud