[libcxx] r261661 - These new tests fail on the green-dragon bots, which use an old Apple compiler.

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


Author: marshall
Date: Tue Feb 23 12:09:38 2016
New Revision: 261661

URL: http://llvm.org/viewvc/llvm-project?rev=261661&view=rev
Log:
These new tests fail on the green-dragon bots, which use an old Apple compiler.
Since they're scheduled to be updated soon, we'll just comment out this test for
the moment, and re-commit when the bots are updated.


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=261661&r1=261660&r2=261661&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 12:09:38 2016
@@ -8,6 +8,8 @@
 //===----------------------------------------------------------------------===//
 
 // type_traits
+// XFAIL: apple-clang-6.0
+//	The Apple-6 compiler gets is_constructible<void ()> wrong.
 
 // template <class T, class... Args>
 //   struct is_constructible;
@@ -100,12 +102,12 @@ int main()
     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
+//  LWG 2560  -- postpone this test until bots updated
+//     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