Add tests to make sure that is_constructible<cv-void> is false. We already checked...
authorMarshall Clow <mclow.lists@gmail.com>
Mon, 3 Oct 2016 23:39:52 +0000 (23:39 +0000)
committerMarshall Clow <mclow.lists@gmail.com>
Mon, 3 Oct 2016 23:39:52 +0000 (23:39 +0000)
llvm-svn: 283161

libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp

index 7235538..7f5ab72 100644 (file)
@@ -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> ();