2 // { dg-do compile { target c++20 } }
4 template<class T> concept C = T::value;
8 template<class U> requires U::value || requires { { T() } -> C; }
9 friend void f(A, U) { }
11 template<class U> requires requires { { g(U()) } noexcept; }
12 friend void f(A, U, U) { }
15 template struct A<int>;