Try to suppress nodiscard_extension failures with Xcode 9

See https://crbug.com/949509 for the error message.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@357692 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/libcxx/diagnostics/nodiscard_extensions.fail.cpp b/test/libcxx/diagnostics/nodiscard_extensions.fail.cpp
index 543fd24..10582b9 100644
--- a/test/libcxx/diagnostics/nodiscard_extensions.fail.cpp
+++ b/test/libcxx/diagnostics/nodiscard_extensions.fail.cpp
@@ -12,6 +12,10 @@
 // GCC versions prior to 7.0 don't provide the required [[nodiscard]] attribute.
 // UNSUPPORTED: gcc-4, gcc-5, gcc-6
 
+// AppleClang9 doesn't yet support C++17's implicitly synthesized deduction
+// guides from existing ctors, needed by default_searcher() below.
+// UNSUPPORTED: apple-clang-9
+
 // Test that entities declared [[nodiscard]] as at extension by libc++, are
 // only actually declared such when _LIBCPP_ENABLE_NODISCARD is specified.
 
diff --git a/test/libcxx/diagnostics/nodiscard_extensions.pass.cpp b/test/libcxx/diagnostics/nodiscard_extensions.pass.cpp
index e06ad97..c4d6016 100644
--- a/test/libcxx/diagnostics/nodiscard_extensions.pass.cpp
+++ b/test/libcxx/diagnostics/nodiscard_extensions.pass.cpp
@@ -13,6 +13,10 @@
 // This test intentionally leaks memory, so it is unsupported under ASAN.
 // UNSUPPORTED: asan
 
+// AppleClang9 doesn't yet support C++17's implicitly synthesized deduction
+// guides from existing ctors, needed by default_searcher() below.
+// UNSUPPORTED: apple-clang-9
+
 // All entities to which libc++ applies [[nodiscard]] as an extension should
 // be tested here and in nodiscard_extensions.fail.cpp. They should also
 // be listed in `UsingLibcxx.rst` in the documentation for the extension.