diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2016-10-03 23:39:52 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2016-10-03 23:39:52 +0000 |
commit | 53abcbd8a90c88a7dba0c333c2e7068f339c4e13 (patch) | |
tree | 5db1e0c3ab95604a94a25a8698d8e86b1d12da9c /libcxx/test | |
parent | be3be28b5d5c97de1c26bf069e0b82043d938f30 (diff) | |
download | bcm5719-llvm-53abcbd8a90c88a7dba0c333c2e7068f339c4e13.tar.gz bcm5719-llvm-53abcbd8a90c88a7dba0c333c2e7068f339c4e13.zip |
Add tests to make sure that is_constructible<cv-void> is false. We already checked 'unqualified void'. This was brought up by LWG#2738
llvm-svn: 283161
Diffstat (limited to 'libcxx/test')
-rw-r--r-- | libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp b/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp index 72355383e65..7f5ab7214fd 100644 --- a/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp +++ b/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp @@ -116,6 +116,9 @@ int main() #endif test_is_not_constructible<A, void> (); test_is_not_constructible<void> (); + test_is_not_constructible<const void> (); // LWG 2738 + test_is_not_constructible<volatile void> (); + test_is_not_constructible<const volatile void> (); test_is_not_constructible<int&> (); test_is_not_constructible<Abstract> (); test_is_not_constructible<AbstractDestructor> (); |