diff --git a/libcxx/test/std/depr/depr.c.headers/stdlib_h.aligned_alloc.compile.pass.cpp b/libcxx/test/std/depr/depr.c.headers/stdlib_h.aligned_alloc.compile.pass.cpp index e2565641aba66..a02a5bbbdbcc7 100644 --- a/libcxx/test/std/depr/depr.c.headers/stdlib_h.aligned_alloc.compile.pass.cpp +++ b/libcxx/test/std/depr/depr.c.headers/stdlib_h.aligned_alloc.compile.pass.cpp @@ -18,6 +18,9 @@ // ::aligned_alloc is not implemented on Windows // XFAIL: target={{.+}}-windows-{{.+}} +// ::aligned_alloc is available starting with Android P (API 28) +// XFAIL: target={{.+}}-android{{(eabi)?(21|22|23|24|25|26|27)}} + #include #include diff --git a/libcxx/test/std/language.support/support.runtime/cstdlib.aligned_alloc.compile.pass.cpp b/libcxx/test/std/language.support/support.runtime/cstdlib.aligned_alloc.compile.pass.cpp index 70bf3ecd539f0..f6681db6cf6bb 100644 --- a/libcxx/test/std/language.support/support.runtime/cstdlib.aligned_alloc.compile.pass.cpp +++ b/libcxx/test/std/language.support/support.runtime/cstdlib.aligned_alloc.compile.pass.cpp @@ -18,6 +18,9 @@ // ::aligned_alloc is not implemented on Windows // XFAIL: target={{.+}}-windows-{{.+}} +// ::aligned_alloc is available starting with Android P (API 28) +// XFAIL: target={{.+}}-android{{(eabi)?(21|22|23|24|25|26|27)}} + #include #include diff --git a/libcxx/test/std/language.support/support.runtime/ctime.timespec.compile.pass.cpp b/libcxx/test/std/language.support/support.runtime/ctime.timespec.compile.pass.cpp index 111d0912cbbe2..37c7b67234782 100644 --- a/libcxx/test/std/language.support/support.runtime/ctime.timespec.compile.pass.cpp +++ b/libcxx/test/std/language.support/support.runtime/ctime.timespec.compile.pass.cpp @@ -17,6 +17,9 @@ // unavailable until macOS 10.15 // XFAIL: use_system_cxx_lib && target={{.+}}-apple-macosx10.{{9|10|11|12|13|14}} +// ::timespec_get is available starting with Android Q (API 29) +// XFAIL: target={{.+}}-android{{(eabi)?(21|22|23|24|25|26|27|28)}} + #include #include