Skip to content

Commit be9f55f

Browse files
committed
[libcxx] Fix copy_move.pass test
When LLVM is built under MSVC and libcxx ABI is set to 2, the 'copy_move.pass' test will unexpectedly pass. This patch mitigate this issue by setting this test will only expecting FAIL when libcxx ABI version is set to 1. Differential Revision: https://reviews.llvm.org/D155760 Fixes: llvm#63442
1 parent 990645f commit be9f55f

File tree

1 file changed

+1
-1
lines changed
  • libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con

1 file changed

+1
-1
lines changed

libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/copy_move.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
// FIXME: In MSVC mode, even "std::function<int(int)> f(aref);" causes
1010
// allocations.
11-
// XFAIL: target=x86_64-pc-windows-msvc && stdlib=libc++
11+
// XFAIL: target=x86_64-pc-windows-msvc && stdlib=libc++ && libcxx-abi-version-1
1212

1313
// UNSUPPORTED: c++03
1414

0 commit comments

Comments
 (0)