blob: 4103714b0043a13e28a53e72672e7409424c6e01 [file] [log] [blame]
// { dg-do compile { target c++2a } }
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();
}