diff options
author | Haowei Wu <haowei@google.com> | 2023-07-19 15:37:40 -0700 |
---|---|---|
committer | Haowei Wu <haowei@google.com> | 2023-07-19 15:51:27 -0700 |
commit | be9f55f4fff47badcdca17be5bcc0a4a15894739 (patch) | |
tree | 98fdd0e5db1db1eaf23fbbf9a770cb1ad1a12305 /libcxx | |
parent | 990645f949c7ede7467b93294bbddbe4661513f1 (diff) | |
download | llvm-be9f55f4fff47badcdca17be5bcc0a4a15894739.zip llvm-be9f55f4fff47badcdca17be5bcc0a4a15894739.tar.gz llvm-be9f55f4fff47badcdca17be5bcc0a4a15894739.tar.bz2 |
[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: https://github.com/llvm/llvm-project/issues/63442
Diffstat (limited to 'libcxx')
-rw-r--r-- | libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/copy_move.pass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/copy_move.pass.cpp b/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/copy_move.pass.cpp index 6ad6e2a..a55069c 100644 --- a/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/copy_move.pass.cpp +++ b/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/copy_move.pass.cpp @@ -8,7 +8,7 @@ // FIXME: In MSVC mode, even "std::function<int(int)> f(aref);" causes // allocations. -// XFAIL: target=x86_64-pc-windows-msvc && stdlib=libc++ +// XFAIL: target=x86_64-pc-windows-msvc && stdlib=libc++ && libcxx-abi-version-1 // UNSUPPORTED: c++03 |