// { dg-do compile { target c++2a } } template concept C = __is_class(T); template struct S1 { template S1(U x) { } }; template struct S2 : S1 { using S1::S1; // { dg-error "no matching function" } }; int main() { S2 s(0); // { dg-error "use of deleted function" } }