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 | dcaaa1baed3745c3f53ded4cc2ee1f2d578c6f67 (patch) | |
tree | 43d28f5aeed9a6bbf3dc1a9accb106dd1206cd2d /libcxx/test/support | |
parent | 1b9337f16b7197758a61e7039cd82a91cdf1a168 (diff) | |
download | bcm5719-llvm-dcaaa1baed3745c3f53ded4cc2ee1f2d578c6f67.tar.gz bcm5719-llvm-dcaaa1baed3745c3f53ded4cc2ee1f2d578c6f67.zip |
[test] Fix logic error in <compare> tests; enable for MSVC Dev16
Submitted upstream as https://reviews.llvm.org/D53763.
llvm-svn: 351148
Diffstat (limited to 'libcxx/test/support')
-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(...) |