// PR c++/95132 // { dg-do compile { target c++20 } } template struct A { static auto f() requires false { return T::fail; } }; template concept C = requires { A::f(); }; static_assert(!C);