diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/support/test_macros.h | 5 |
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 |
