(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp2a/
concepts-explicit-spec2.C
// { dg-do compile { target c++20 } }

template<typename T>
  concept C = __is_class(T);

struct X { };

template<C T> struct S;
template<> struct S<X> { void f() { } };

int main() {
  S<X> x; x.f();
}