// A version of explicit-spec1.C where the template g has trailing instead of // template requirements. // PR c++/107864 // { dg-do compile { target concepts } } template concept C = __is_class(T); struct Y { int n; } y; template void g(T) requires C { } int called; template<> void g(Y) { called = 3; } int main() { g(y); }