// PR c++/105064 // { dg-do compile { target c++20 } } struct A { template friend void f(T) requires true; }; struct B { template friend void f(T) requires true; };