[libcxx][test] MSVC's __is_trivially_copyable is fixed in VS 16.7
authorCasey Carter <Casey@Carter.net>
Wed, 10 Jun 2020 20:55:33 +0000 (13:55 -0700)
committerCasey Carter <Casey@Carter.net>
Wed, 10 Jun 2020 20:55:33 +0000 (13:55 -0700)
... so we can disable `TEST_WORKAROUND_C1XX_BROKEN_IS_TRIVIALLY_COPYABLE`.

libcxx/test/support/test_workarounds.h

index 8c28d00..8e1b44f 100644 (file)
@@ -17,7 +17,9 @@
 #endif
 
 #if defined(TEST_COMPILER_C1XX)
-# define TEST_WORKAROUND_C1XX_BROKEN_IS_TRIVIALLY_COPYABLE // VSO-117743
+# if _MSC_VER < 1927
+#  define TEST_WORKAROUND_C1XX_BROKEN_IS_TRIVIALLY_COPYABLE // VSO-117743
+# endif
 # ifndef _MSC_EXTENSIONS
 #  define TEST_WORKAROUND_C1XX_BROKEN_ZA_CTOR_CHECK // VSO-119998
 # endif