Skip to content

Commit b7a6cca

Browse files
authored
[libc++][test] XFAIL sized deallocation tests for AIX, z/OS, and MinGW (#98960)
The sized deallocation test cases fail on AIX, z/OS, and MinGW because they default to `-fno-sized-deallocation`. This patch XFAILs these test cases for the affected targets. Once they change the default, we will get `unexpectedly pass`.
1 parent 4a19be5 commit b7a6cca

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array14.pass.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
// XFAIL: apple-clang
1616
// XFAIL: using-built-library-before-llvm-11
1717

18+
// AIX, z/OS, and MinGW default to -fno-sized-deallocation.
19+
// XFAIL: target={{.+}}-aix{{.*}}, target={{.+}}-zos{{.*}}, target={{.+}}-windows-gnu
20+
1821
#include <new>
1922
#include <cstddef>
2023
#include <cstdlib>

libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete14.pass.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
// XFAIL: apple-clang
1616
// XFAIL: using-built-library-before-llvm-11
1717

18+
// AIX, z/OS, and MinGW default to -fno-sized-deallocation.
19+
// XFAIL: target={{.+}}-aix{{.*}}, target={{.+}}-zos{{.*}}, target={{.+}}-windows-gnu
20+
1821
#include <new>
1922
#include <cstddef>
2023
#include <cstdlib>

0 commit comments

Comments
 (0)