blob: 99f83cba6cf630813ba340b56fad588631a1bc68 [file] [log] [blame]
// { 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();
}