Sign in
gnu
/
gcc
/
93ac832f1846e4867aa6537f76f510fab8e3e87d
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
spaceship-decltype1.C
blob: 217e34fe79fc9737ab428e874e4c6c0510ba293f [
file
] [
log
] [
blame
]
// PR c++/92560
// { dg-do compile { target c++20 } }
#include
<compare>
struct
X
{
friend
std
::
strong_ordering
operator
<=>(
X
,
X
);
}
x
;
using
T
=
decltype
(
x
<
x
);