// { dg-do compile { target c++20 } } #include // PR libstdc++/101411 void f(std::span s) { std::as_writable_bytes(s); // { dg-error "no matching function" } } void f1(std::span s) { std::as_writable_bytes(s); // { dg-error "no matching function" } }