mirror of git://gcc.gnu.org/git/gcc.git
14 lines
323 B
C++
14 lines
323 B
C++
// { dg-do run { target c++26 xfail c++26 } }
|
|
// { dg-options "-lstdc++exp" }
|
|
// { dg-require-cpp-feature-test __cpp_lib_debugging }
|
|
#include <debugging>
|
|
#include <type_traits>
|
|
|
|
static_assert( noexcept(std::breakpoint()) );
|
|
static_assert( std::is_void_v<decltype(std::breakpoint())> );
|
|
|
|
int main()
|
|
{
|
|
std::breakpoint();
|
|
}
|