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