summaryrefslogtreecommitdiff
path: root/test/std/experimental/string.view/string.view.cons/from_ptr_len.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/std/experimental/string.view/string.view.cons/from_ptr_len.pass.cpp')
-rw-r--r--test/std/experimental/string.view/string.view.cons/from_ptr_len.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/std/experimental/string.view/string.view.cons/from_ptr_len.pass.cpp b/test/std/experimental/string.view/string.view.cons/from_ptr_len.pass.cpp
index 1038d0484f8cb..663d25e954f93 100644
--- a/test/std/experimental/string.view/string.view.cons/from_ptr_len.pass.cpp
+++ b/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 );