Debian Codegraph @

gcc/testsuite/g++.dg/cpp2a/concepts-friend9.C

raw
1 // PR c++/105064
2 // { dg-do compile { target c++20 } }
3
4 struct A {
5 template<class T>
6 friend void f(T) requires true;
7 };
8
9 struct B {
10 template<class T>
11 friend void f(T) requires true;
12 };