blob: 76c6fb9bd34e3cf35e7bc99e54126d07250ce7b9 [file] [log] [blame]
// { dg-do compile { target c++2a } }
template<typename T>
concept C = __is_class(T);
template<C T> struct S;
struct X { };
// Not a valid explicit specialization, int does not satisfy C.
template<> struct S<int> { }; // { dg-error "constraint failure" }
int main() { }