// PR c++/97517 // { dg-do compile { target c++20 } } // Test that we print "decltype(nullptr)" correctly. template struct Trait { static constexpr bool value = false; }; template concept Concept = Trait::value; // { dg-message {\[with T = std::nullptr_t\]} } static_assert( Concept ); // { dg-error "static assertion failed" } // { dg-message "constraints not satisfied" "" { target *-*-* } .-1 }