summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/utilities/meta/meta.unary
diff options
context:
space:
mode:
authorBilly Robert O'Neal III <bion@microsoft.com>2017-05-10 19:43:31 +0000
committerBilly Robert O'Neal III <bion@microsoft.com>2017-05-10 19:43:31 +0000
commit6957d35a9b6f3a15383acf836007344ac0a961ba (patch)
tree52878cf531e1073eb7c7bb7334d890aae72e7e5d /libcxx/test/std/utilities/meta/meta.unary
parentf09df7723636fb0cbd7cda44f79dae5abb917566 (diff)
downloadbcm5719-llvm-6957d35a9b6f3a15383acf836007344ac0a961ba.tar.gz
bcm5719-llvm-6957d35a9b6f3a15383acf836007344ac0a961ba.zip
Update is_trivially_copyable tests with CWG 2094
Clang 5.0 implements these changes here: https://github.com/llvm-mirror/clang/commit/87cd035326a39523eeb1b295ad36cff337141ef9 MSVC++ will implement these changes in the first toolset update to 2017. Differential Revision: https://reviews.llvm.org/D33021 llvm-svn: 302710
Diffstat (limited to 'libcxx/test/std/utilities/meta/meta.unary')
-rw-r--r--libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copyable.pass.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copyable.pass.cpp b/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copyable.pass.cpp
index 42ecdb3b896..f67d5759c36 100644
--- a/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copyable.pass.cpp
+++ b/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copyable.pass.cpp
@@ -22,13 +22,13 @@ void test_is_trivially_copyable()
{
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
}
OpenPOWER on IntegriCloud