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 --- a/libcxx/test/std/algorithms/algorithms.results/in_out_result.pass.cpp +++ b/libcxx/test/std/algorithms/algorithms.results/in_out_result.pass.cpp @@ -53,8 +53,9 @@ // Conversion, fundamental types. { std::ranges::in_out_result x = {2, false}; - std::ranges::in_out_result y = x; - assert(y.in == 2.0); + // FIXME(varconst): try a narrowing conversion. + std::ranges::in_out_result y = x; + assert(y.in == 2); assert(y.out == '\0'); } @@ -138,4 +139,3 @@ return 0; } -