Author: Aaron Ballman
Date: 2022-09-17T08:06:16-04:00
New Revision: 1b2efe8d87b30052de944f0153d3833046b80604

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

LOG: Fix this test to be more robust

The test is failing because it lacks a target triple, so the number of
diagnostics differs between Windows and Linux targets.

This should correct the issue found by:
https://lab.llvm.org/buildbot/#/builders/109/builds/46804

Added: 
    

Modified: 
    clang/test/CXX/drs/dr4xx.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/CXX/drs/dr4xx.cpp b/clang/test/CXX/drs/dr4xx.cpp
index 4995e4de65d3..2bf6133f8ad2 100644
--- a/clang/test/CXX/drs/dr4xx.cpp
+++ b/clang/test/CXX/drs/dr4xx.cpp
@@ -1013,7 +1013,7 @@ namespace dr483 { // dr483: yes
     int check4[__LONG_MAX__ >= 2147483647 ? 1 : -1];
     int check5[__LONG_LONG_MAX__ >= 9223372036854775807 ? 1 : -1];
 #if __cplusplus < 201103L
-    // expected-error@-2 2{{extension}}
+    // expected-error@-2 1+{{extension}}
 #endif
   }
   namespace cstdint {


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

Reply via email to