diff options
author | Casey Carter <Casey@Carter.net> | 2019-01-15 01:53:12 +0000 |
---|---|---|
committer | Casey Carter <Casey@Carter.net> | 2019-01-15 01:53:12 +0000 |
commit | 3358f0b2d9b26f135b7f17d0ff24b3f3bacc000e (patch) | |
tree | d589bb2bd1f0ee9090fafda6d819228fff9d14e9 /libcxx/test/support/test_macros.h | |
parent | 1b9c7ed3e3aaeb090938b377b872abbd86ce476c (diff) |
[test] Fix logic error in <compare> tests; enable for MSVC Dev16
Submitted upstream as https://reviews.llvm.org/D53763.
Diffstat (limited to 'libcxx/test/support/test_macros.h')
-rw-r--r-- | libcxx/test/support/test_macros.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libcxx/test/support/test_macros.h b/libcxx/test/support/test_macros.h index 88cc4d5cacc..99755529679 100644 --- a/libcxx/test/support/test_macros.h +++ b/libcxx/test/support/test_macros.h @@ -210,8 +210,9 @@ // FIXME: Fix this feature check when either (A) a compiler provides a complete // implementation, or (b) a feature check macro is specified +#if !defined(_MSC_VER) || defined(__clang__) || _MSC_VER < 1920 || _MSVC_LANG <= 201703L #define TEST_HAS_NO_SPACESHIP_OPERATOR - +#endif #if TEST_STD_VER < 11 #define ASSERT_NOEXCEPT(...) |