aboutsummaryrefslogtreecommitdiffstats
path: root/test/support/test_macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/support/test_macros.h')
-rw-r--r--test/support/test_macros.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/support/test_macros.h b/test/support/test_macros.h
index cc2918a0875a..95270e437905 100644
--- a/test/support/test_macros.h
+++ b/test/support/test_macros.h
@@ -81,8 +81,11 @@
# define TEST_STD_VER 11
#elif __cplusplus <= 201402L
# define TEST_STD_VER 14
+#elif __cplusplus <= 201703L
+# define TEST_STD_VER 17
#else
-# define TEST_STD_VER 16 // current year; greater than current standard
+# define TEST_STD_VER 99 // greater than current standard
+// This is deliberately different than _LIBCPP_STD_VER to discourage matching them up.
#endif
#endif