1 // { dg-do compile { target c++17_only } }
2 // { dg-options "-fconcepts-ts" }
4 // Redefinition errors.
7 concept bool C() { return __is_class(T); }
10 concept bool D() { return C<T>() and __is_empty(T); }
12 template<C T> void f(T x) { }
15 void f(T x) { } // { dg-error "redefinition" }