// { dg-do compile { target c++20 } } template concept C = __is_class(T); struct X { }; template struct S; template<> struct S { void f() { } }; int main() { S x; x.f(); }