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