// { dg-options "-D_GLIBCXX_DEBUG" } // { dg-do compile { target c++20 } } // Bug 117966 // constexpr std::span construction fails to compile with D_GLIBCXX_DEBUG #include #include struct A { constexpr A(std::span) {} }; constexpr A val{std::array{0x11, 0x22}};