[clang] 6a56f15 - [clang][bytecode][NFC] Fix a commented-out test
Timm Bäder via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 10 05:06:03 PDT 2024
Author: Timm Bäder
Date: 2024-09-10T14:05:46+02:00
New Revision: 6a56f15211f034ad668d24dfec5d7f722e33a7a2
URL: https://github.com/llvm/llvm-project/commit/6a56f15211f034ad668d24dfec5d7f722e33a7a2
DIFF: https://github.com/llvm/llvm-project/commit/6a56f15211f034ad668d24dfec5d7f722e33a7a2.diff
LOG: [clang][bytecode][NFC] Fix a commented-out test
Added:
Modified:
clang/test/AST/ByteCode/cxx20.cpp
Removed:
################################################################################
diff --git a/clang/test/AST/ByteCode/cxx20.cpp b/clang/test/AST/ByteCode/cxx20.cpp
index 77a967d42c4efe..9bbc3dbe0073d3 100644
--- a/clang/test/AST/ByteCode/cxx20.cpp
+++ b/clang/test/AST/ByteCode/cxx20.cpp
@@ -641,7 +641,7 @@ namespace ThreeWayCmp {
constexpr const int *pa2 = &a[2];
constexpr const int *pb1 = &b[1];
static_assert(pa1 <=> pb1 != 0, ""); // both-error {{not an integral constant expression}} \
- // both-note {{has unspecified value}} \
+ // both-note {{has unspecified value}}
static_assert(pa1 <=> pa1 == 0, "");
static_assert(pa1 <=> pa2 == -1, "");
static_assert(pa2 <=> pa1 == 1, "");
More information about the cfe-commits
mailing list