// PR c++/101677 // { dg-do compile { target c++20 } } template concept C_bug_with_forward_decl = requires(T& t){ t.template f(); }; struct good { template void f() {} }; static_assert(C_bug_with_forward_decl);