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