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 e7a311c8bf5c47..d66426b0469c29 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 @@ -53,8 +53,9 @@ int main(int, char**) { // 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 @@ int main(int, char**) { return 0; } -