aboutsummaryrefslogtreecommitdiff
path: root/libcxx/test/support/test_iterators.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/support/test_iterators.h')
-rw-r--r--libcxx/test/support/test_iterators.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/support/test_iterators.h b/libcxx/test/support/test_iterators.h
index b98c35b1d0c6..f7eee4ca3abf 100644
--- a/libcxx/test/support/test_iterators.h
+++ b/libcxx/test/support/test_iterators.h
@@ -53,7 +53,7 @@ public:
template <class T>
void operator,(T const &) = delete;
};
-#if _LIBCPP_STD_VER > 17
+#if TEST_STD_VER > 17
static_assert(std::output_iterator<cpp17_output_iterator<int*>, int>);
#endif
@@ -94,7 +94,7 @@ public:
template <class T>
void operator,(T const &) = delete;
};
-#if _LIBCPP_STD_VER > 17
+#if TEST_STD_VER > 17
static_assert(std::input_iterator<cpp17_input_iterator<int*>>);
#endif