[libc++] Mark test failing with macos < 10.13 as unsupported
authorLouis Dionne <ldionne@apple.com>
Mon, 13 Apr 2020 21:38:40 +0000 (17:38 -0400)
committerLouis Dionne <ldionne@apple.com>
Mon, 13 Apr 2020 21:39:05 +0000 (17:39 -0400)
libcxx/test/std/utilities/memory/temporary.buffer/overaligned.pass.cpp

index 09cfc74..5a660d1 100644 (file)
@@ -8,6 +8,15 @@
 
 // UNSUPPORTED: c++98, c++03
 
+// Aligned allocations are not supported on macOS < 10.13
+// Note: use 'unsupported' instead of 'xfail' to ensure
+// we won't pass prior to c++17.
+// UNSUPPORTED: with_system_cxx_lib=macosx10.12
+// UNSUPPORTED: with_system_cxx_lib=macosx10.11
+// UNSUPPORTED: with_system_cxx_lib=macosx10.10
+// UNSUPPORTED: with_system_cxx_lib=macosx10.9
+
+
 // <memory>
 
 // template <class T>