[clang] 5a72df2 - [clang][Interp] Add missing expected test output

Timm Bäder via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 28 09:07:26 PDT 2022


Author: Timm Bäder
Date: 2022-10-28T18:07:10+02:00
New Revision: 5a72df21cbbe2092e5f58e94d733f95df87daf09

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

LOG: [clang][Interp] Add missing expected test output

Added: 
    

Modified: 
    clang/test/AST/Interp/literals.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/AST/Interp/literals.cpp b/clang/test/AST/Interp/literals.cpp
index 739910d3bc45..1c6aa4e26979 100644
--- a/clang/test/AST/Interp/literals.cpp
+++ b/clang/test/AST/Interp/literals.cpp
@@ -390,7 +390,8 @@ namespace IncDec {
     return 1;
   }
   static_assert(uninit(), ""); // ref-error {{not an integral constant expression}} \
-                               // ref-note {{in call to 'uninit()'}}
+                               // ref-note {{in call to 'uninit()'}} \
+                               // expected-error {{not an integral constant expression}}
 
   constexpr int OverFlow() { // ref-error {{never produces a constant expression}}
     int a = INT_MAX;


        


More information about the cfe-commits mailing list