1 // { dg-do compile { target c++17_only } }
2 // { dg-options "-fconcepts-ts" }
5 concept bool C = __is_class(T);
11 Base(double) requires C<T> { }
14 struct Ok1 : Base<X> {
18 struct Err1 : Base<int> {
19 using Base<int>::Base;
23 struct Generic : Base<T> {
30 Err1 x2(0.0); // { dg-error "no matching" }
32 Generic<int> x4(0.0); // { dg-error "no matching" }