We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent daf2085 commit 6a56f15Copy full SHA for 6a56f15
clang/test/AST/ByteCode/cxx20.cpp
@@ -641,7 +641,7 @@ namespace ThreeWayCmp {
641
constexpr const int *pa2 = &a[2];
642
constexpr const int *pb1 = &b[1];
643
static_assert(pa1 <=> pb1 != 0, ""); // both-error {{not an integral constant expression}} \
644
- // both-note {{has unspecified value}} \
+ // both-note {{has unspecified value}}
645
static_assert(pa1 <=> pa1 == 0, "");
646
static_assert(pa1 <=> pa2 == -1, "");
647
static_assert(pa2 <=> pa1 == 1, "");
0 commit comments