1 // { dg-do compile { target c++20 } }
2 // { dg-additional-options "-fconcepts-ts" }
7 template<int I, class S>
9 friend int f1(const A<S>&);
11 template<int I, class S>
12 friend int f2(const A<S>&) requires I > 0;
18 template<int I, class S>
20 int f1(const A<S>& a) {
24 template<int I, class S>
25 int f2(const A<S>& a) requires I > 0 {
33 friend int f3(const B&);
36 friend int f4(const B&) requires I > 0;
49 int f4(const B& a) requires I > 0 {