Sign in
gnu
/
gcc
/
93ac832f1846e4867aa6537f76f510fab8e3e87d
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
spaceship-synth7.C
blob: 7cb201416f9206281951b70c94fbf2c26b5d7eb2 [
file
] [
log
] [
blame
]
// PR c++/94583
// { dg-do compile { target c++20 } }
namespace
std
{
struct
strong_ordering
{
};
}
struct
Q
{
friend
std
::
strong_ordering
operator
<=>(
const
Q
&,
const
Q
&)
=
default
;
};
bool
operator
==(
const
Q
&,
const
Q
&)
noexcept
;