☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
spaceship-constexpr3.C
☽
☼
gcc/testsuite/g++.dg/cpp2a/spaceship-constexpr3.C
code
plain
raw
1
// PR c++/96497
2
// { dg-do compile { target c++20 } }
3
4
#include <compare>
5
6
static_assert(std::partial_ordering(std::strong_ordering::less) < 0);
7
static_assert(std::partial_ordering(1 <=> 2) < 0);