☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
spaceship-synth7.C
☽
☼
gcc/testsuite/g++.dg/cpp2a/spaceship-synth7.C
code
plain
raw
1
// PR c++/94583
2
// { dg-do compile { target c++20 } }
3
4
namespace std { struct strong_ordering { }; }
5
6
struct Q {
7
friend std::strong_ordering operator<=>(const Q&, const Q&) = default;
8
};
9
bool operator==(const Q&, const Q&) noexcept;