// { dg-do compile { target c++20 } } // { dg-additional-options "-fconcepts" } struct A { template double operator()(T x) const { return 0; } }; template concept C = requires { &X::operator(); }; int main() { static_assert(!C); return 0; }