[clang][Interp] Add missing expected test output
authorTimm Bäder <tbaeder@redhat.com>
Fri, 28 Oct 2022 16:06:40 +0000 (18:06 +0200)
committerTimm Bäder <tbaeder@redhat.com>
Fri, 28 Oct 2022 16:07:10 +0000 (18:07 +0200)
clang/test/AST/Interp/literals.cpp

index 739910d..1c6aa4e 100644 (file)
@@ -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;