☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
concepts-friend9.C
☽
☼
gcc/testsuite/g++.dg/cpp2a/concepts-friend9.C
code
plain
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
};