[libcxx] r261653 - Add tests for LWG#2560. No code changes, just tests

Marshall Clow via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 23 09:01:54 PST 2016


Author: marshall
Date: Tue Feb 23 11:01:52 2016
New Revision: 261653

URL: http://llvm.org/viewvc/llvm-project?rev=261653&view=rev
Log:
Add tests for LWG#2560. No code changes, just tests

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

Modified: libcxx/trunk/test/std/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp?rev=261653&r1=261652&r2=261653&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp Tue Feb 23 11:01:52 2016
@@ -99,4 +99,13 @@ int main()
     test_is_not_constructible<int&> ();
     test_is_not_constructible<Abstract> ();
     test_is_not_constructible<AbstractDestructor> ();
+
+//  LWG 2560
+    test_is_not_constructible<void()> ();
+#if TEST_STD_VERS > 11
+    test_is_not_constructible<void() const> ();
+    test_is_not_constructible<void() volatile> ();
+    test_is_not_constructible<void() &> ();
+    test_is_not_constructible<void() &&> ();
+#endif
 }




More information about the cfe-commits mailing list