// { dg-options "-std=c++17 -fconcepts" } template concept bool C() { return __is_class(T); } template struct S1 { S1(double) requires C() { } }; template struct S2 : S1 { // { dg-error "matching" } using S1::S1; }; int main() { S2 s; // { dg-error "deleted function" } }