// { dg-options "-std=gnu++20" } // { dg-do compile { target c++20 } } // { dg-require-filesystem-ts "" } // PR libstdc++/106201 constraint recursion in path(Source const&) constructor. #include #include #include namespace fs = std::experimental::filesystem; using I = std::counted_iterator; static_assert( std::swappable ); using R = std::counted_iterator; static_assert( std::swappable );