Debian Codegraph @

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

raw
1 // { dg-do compile { target c++20 } }
2
3 template <class T>
4 struct A
5 {
6 friend bool operator==(const A&, const A&) requires true = default;
7 };
8
9 int main()
10 {
11 A<int>() == A<int>();
12 }