[PATCH] D33021: [libcxx] [test] libc++ test changes for CWG 2094
Phabricator via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 10 12:56:43 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL302710: Update is_trivially_copyable tests with CWG 2094 (authored by bion).
Changed prior to commit:
https://reviews.llvm.org/D33021?vs=98506&id=98508#toc
Repository:
rL LLVM
https://reviews.llvm.org/D33021
Files:
libcxx/trunk/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copyable.pass.cpp
Index: libcxx/trunk/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copyable.pass.cpp
===================================================================
--- libcxx/trunk/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copyable.pass.cpp
+++ libcxx/trunk/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copyable.pass.cpp
@@ -22,13 +22,13 @@
{
static_assert( std::is_trivially_copyable<T>::value, "");
static_assert( std::is_trivially_copyable<const T>::value, "");
- static_assert(!std::is_trivially_copyable<volatile T>::value, "");
- static_assert(!std::is_trivially_copyable<const volatile T>::value, "");
+ static_assert( std::is_trivially_copyable<volatile T>::value, "");
+ static_assert( std::is_trivially_copyable<const volatile T>::value, "");
#if TEST_STD_VER > 14
static_assert( std::is_trivially_copyable_v<T>, "");
static_assert( std::is_trivially_copyable_v<const T>, "");
- static_assert(!std::is_trivially_copyable_v<volatile T>, "");
- static_assert(!std::is_trivially_copyable_v<const volatile T>, "");
+ static_assert( std::is_trivially_copyable_v<volatile T>, "");
+ static_assert( std::is_trivially_copyable_v<const volatile T>, "");
#endif
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33021.98508.patch
Type: text/x-patch
Size: 1261 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170510/27ee2637/attachment.bin>
More information about the cfe-commits
mailing list