// { dg-do compile { target c++17_only } } // { dg-options "-fconcepts-ts" } // Redefinition errors. template concept bool C() { return __is_class(T); } template concept bool D() { return C() and __is_empty(T); } template void f(T x) { } template requires C() void f(T x) { } // { dg-error "redefinition" } int main() { }