[clang] 2a6cfbd - [clang] [test] Adjust XFAILs for windows in unique_object_duplication.cpp (#126139)

via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 7 05:30:33 PST 2025


Author: Martin Storsjö
Date: 2025-02-07T15:30:29+02:00
New Revision: 2a6cfbd98516d902267a39e26ecbbff8c8121b01

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

LOG: [clang] [test] Adjust XFAILs for windows in unique_object_duplication.cpp (#126139)

This test does succeed in MinGW configurations.

Added: 
    

Modified: 
    clang/test/SemaCXX/unique_object_duplication.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/SemaCXX/unique_object_duplication.cpp b/clang/test/SemaCXX/unique_object_duplication.cpp
index 8a19fb7b81187a..4b41bfbfdc2f75 100644
--- a/clang/test/SemaCXX/unique_object_duplication.cpp
+++ b/clang/test/SemaCXX/unique_object_duplication.cpp
@@ -1,7 +1,7 @@
 // RUN: %clang_cc1 -fsyntax-only -verify=hidden -Wunique-object-duplication -fvisibility=hidden -Wno-unused-value %s
 // RUN: %clang_cc1 -fsyntax-only -verify -Wunique-object-duplication -Wno-unused-value %s
-// The check is currently disabled on windows. The test should fail because we're not getting the expected warnings.
-// XFAIL: target={{.*}}-windows{{.*}}, {{.*}}-ps{{(4|5)(-.+)?}}
+// The check is currently disabled on windows in MSVC-like environments. The test should fail because we're not getting the expected warnings.
+// XFAIL: target={{.*}}-windows-msvc, {{.*}}-ps{{(4|5)(-.+)?}}
 
 #include "unique_object_duplication.h"
 


        


More information about the cfe-commits mailing list