// { dg-do compile { target c++17 } } // PR libstdc++/104242 - Class with constructor from std::any is not copyable #include #include struct A { A(const A&) = default; explicit A(std::any value); }; static_assert(std::is_copy_constructible_v);