[libcxx-commits] [libcxx] 57092f8 - Revert "[libc++] Temporarily disable the in_out_result test on Fuchsia."

Konstantin Varlamov via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jan 12 13:10:51 PST 2022


Author: Konstantin Varlamov
Date: 2022-01-12T13:10:30-08:00
New Revision: 57092f87b23347c8878030cc90d797ac8404b845

URL: https://github.com/llvm/llvm-project/commit/57092f87b23347c8878030cc90d797ac8404b845
DIFF: https://github.com/llvm/llvm-project/commit/57092f87b23347c8878030cc90d797ac8404b845.diff

LOG: Revert "[libc++] Temporarily disable the in_out_result test on Fuchsia."

This reverts commit 9e634b35ff51d0eb2b38013111491e88bdbae388.

Added: 
    

Modified: 
    libcxx/test/std/algorithms/algorithms.results/in_out_result.pass.cpp

Removed: 
    


################################################################################
diff  --git a/libcxx/test/std/algorithms/algorithms.results/in_out_result.pass.cpp b/libcxx/test/std/algorithms/algorithms.results/in_out_result.pass.cpp
index d66426b0469c2..d77123eaf6274 100644
--- a/libcxx/test/std/algorithms/algorithms.results/in_out_result.pass.cpp
+++ b/libcxx/test/std/algorithms/algorithms.results/in_out_result.pass.cpp
@@ -16,14 +16,10 @@
 //     struct in_out_result;
 // }
 
-
 #include <algorithm>
 #include <cassert>
 #include <type_traits>
 
-// FIXME(varconst): this test doesn't work on Fuchsia.
-#ifndef __Fuchsia__
-
 struct A {
   A(int&);
 };
@@ -46,10 +42,7 @@ static_assert(std::is_convertible_v<const std::ranges::in_out_result<int, int>&&
 static_assert(!std::is_nothrow_convertible_v<const std::ranges::in_out_result<int, int>&&,
     std::ranges::in_out_result<long, long>>);
 
-#endif // __Fuchsia__
-
 int main(int, char**) {
-#ifndef __Fuchsia__
   // Conversion, fundamental types.
   {
     std::ranges::in_out_result<int, bool> x = {2, false};
@@ -135,7 +128,6 @@ int main(int, char**) {
     static_assert(
         !std::is_convertible_v<std::ranges::in_out_result<Foo1, Foo2>, std::ranges::in_out_result<Bar1, Bar2>>);
   }
-#endif // __Fuchsia__
 
   return 0;
 }


        


More information about the libcxx-commits mailing list