Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
spaceship-constexpr3.C
blob: 95f03e6e231f110d70369e3d3e46405b20bfa600 [
file
] [
log
] [
blame
]
// PR c++/96497
// { dg-do compile { target c++20 } }
#include
<compare>
static_assert
(
std
::
partial_ordering
(
std
::
strong_ordering
::
less
)
<
0
);
static_assert
(
std
::
partial_ordering
(
1
<=>
2
)
<
0
);