[libcxx] r309307 - Disable the deduction guide test I added in 309296 for the moment, while I figure out which compilers don't support deduction guides

Marshall Clow via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 27 11:47:35 PDT 2017


Author: marshall
Date: Thu Jul 27 11:47:35 2017
New Revision: 309307

URL: http://llvm.org/viewvc/llvm-project?rev=309307&view=rev
Log:
Disable the deduction guide test I added in 309296 for the moment, while I figure out which compilers don't support deduction guides

Modified:
    libcxx/trunk/test/std/utilities/variant/variant.variant/variant.ctor/copy.pass.cpp

Modified: libcxx/trunk/test/std/utilities/variant/variant.variant/variant.ctor/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/variant/variant.variant/variant.ctor/copy.pass.cpp?rev=309307&r1=309306&r2=309307&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/variant/variant.variant/variant.ctor/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/variant/variant.variant/variant.ctor/copy.pass.cpp Thu Jul 27 11:47:35 2017
@@ -261,9 +261,13 @@ int main() {
   test_copy_ctor_valueless_by_exception();
   test_copy_ctor_sfinae();
   test_constexpr_copy_ctor_extension();
+#if 0
+// disable this for the moment; it fails on older compilers.
+//  Need to figure out which compilers will support it.
 { // This is the motivating example from P0739R0
   std::variant<int, double> v1(3);
   std::variant v2 = v1;
   (void) v2;
 }
+#endif
 }




More information about the cfe-commits mailing list