Author: Timm Bäder
Date: 2024-09-02T13:15:48+02:00
New Revision: f79722b932ce40edf2937f3b9386e6fb43757bce

URL: 
https://github.com/llvm/llvm-project/commit/f79722b932ce40edf2937f3b9386e6fb43757bce
DIFF: 
https://github.com/llvm/llvm-project/commit/f79722b932ce40edf2937f3b9386e6fb43757bce.diff

LOG: [clang][bytecode][NFC] Move test case to -verify=both style

Added: 
    

Modified: 
    clang/test/AST/ByteCode/references.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/AST/ByteCode/references.cpp 
b/clang/test/AST/ByteCode/references.cpp
index 7c1dccb1f9e341..7610655958230f 100644
--- a/clang/test/AST/ByteCode/references.cpp
+++ b/clang/test/AST/ByteCode/references.cpp
@@ -71,20 +71,16 @@ static_assert(testGetValue() == 30, "");
 
 constexpr const int &MCE = 20;
 static_assert(MCE == 20, "");
-static_assert(MCE == 30, ""); // expected-error {{static assertion failed}} \
-                              // expected-note {{evaluates to '20 == 30'}} \
-                              // ref-error {{static assertion failed}} \
-                              // ref-note {{evaluates to '20 == 30'}}
+static_assert(MCE == 30, ""); // both-error {{static assertion failed}} \
+                              // both-note {{evaluates to '20 == 30'}}
 
 constexpr int LocalMCE() {
   const int &m = 100;
   return m;
 }
 static_assert(LocalMCE() == 100, "");
-static_assert(LocalMCE() == 200, ""); // expected-error {{static assertion 
failed}} \
-                                      // expected-note {{evaluates to '100 == 
200'}} \
-                                      // ref-error {{static assertion failed}} 
\
-                                      // ref-note {{evaluates to '100 == 200'}}
+static_assert(LocalMCE() == 200, ""); // both-error {{static assertion 
failed}} \
+                                      // both-note {{evaluates to '100 == 
200'}}
 
 struct S {
   int i, j;


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to