Skip to content

Commit 2a6cfbd

Browse files
authored
[clang] [test] Adjust XFAILs for windows in unique_object_duplication.cpp (#126139)
This test does succeed in MinGW configurations.
1 parent 7f21c77 commit 2a6cfbd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/SemaCXX/unique_object_duplication.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: %clang_cc1 -fsyntax-only -verify=hidden -Wunique-object-duplication -fvisibility=hidden -Wno-unused-value %s
22
// RUN: %clang_cc1 -fsyntax-only -verify -Wunique-object-duplication -Wno-unused-value %s
3-
// The check is currently disabled on windows. The test should fail because we're not getting the expected warnings.
4-
// XFAIL: target={{.*}}-windows{{.*}}, {{.*}}-ps{{(4|5)(-.+)?}}
3+
// The check is currently disabled on windows in MSVC-like environments. The test should fail because we're not getting the expected warnings.
4+
// XFAIL: target={{.*}}-windows-msvc, {{.*}}-ps{{(4|5)(-.+)?}}
55

66
#include "unique_object_duplication.h"
77

0 commit comments

Comments
 (0)