summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/experimental/string.view/string.view.cons/from_ptr_len.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/experimental/string.view/string.view.cons/from_ptr_len.pass.cpp')
-rw-r--r--libcxx/test/std/experimental/string.view/string.view.cons/from_ptr_len.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/experimental/string.view/string.view.cons/from_ptr_len.pass.cpp b/libcxx/test/std/experimental/string.view/string.view.cons/from_ptr_len.pass.cpp
index 1038d0484f8..663d25e954f 100644
--- a/libcxx/test/std/experimental/string.view/string.view.cons/from_ptr_len.pass.cpp
+++ b/libcxx/test/std/experimental/string.view/string.view.cons/from_ptr_len.pass.cpp
@@ -18,6 +18,8 @@
#include <string>
#include <cassert>
+#include "test_macros.h"
+
template<typename CharT>
void test ( const CharT *s, size_t sz ) {
{
@@ -53,7 +55,7 @@ int main () {
}
#endif
-#if __cplusplus >= 201103L
+#if TEST_STD_VER >= 11
test ( u"QBCDE", 5 );
test ( u"QBCDE", 2 );
test ( u"", 0 );
OpenPOWER on IntegriCloud