Output CodeView function information
[official-gcc.git] / libstdc++-v3 / testsuite / 23_containers / span / 101411.cc
blob7d060fa6fb531010e37474ae8a110f8568c538b9
1 // { dg-do compile { target c++20 } }
2 #include <span>
4 // PR libstdc++/101411
6 void f(std::span<const int> s)
8 std::as_writable_bytes(s); // { dg-error "no matching function" }
11 void f1(std::span<const int, 1> s)
13 std::as_writable_bytes(s); // { dg-error "no matching function" }