// { dg-do compile { target c++17 } } // { dg-options "-fconcepts" } template concept bool C() { return __is_class(T); } template struct S; struct X { }; // Not a valid explicit specialization, int does not satisfy C. template<> struct S { }; // { dg-error "constraint" } int main() { }