[Coroutine] Warn deprecated 'std::experimental::coro' uses

Since we've decided the to not support std::experimental::coroutine*, we
should tell the user they need to update.

Reviewed By: Quuxplusone, ldionne, Mordante

Differential Revision: https://reviews.llvm.org/D113977

GitOrigin-RevId: af9f3c6d86b4afc93fb0a29ee430fc42f593800f
diff --git a/test/libcxx/experimental/language.support/support.coroutines/dialect_support.pass.cpp b/test/libcxx/experimental/language.support/support.coroutines/dialect_support.pass.cpp
index 5f8fe52..c237ca0 100644
--- a/test/libcxx/experimental/language.support/support.coroutines/dialect_support.pass.cpp
+++ b/test/libcxx/experimental/language.support/support.coroutines/dialect_support.pass.cpp
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 
 // REQUIRES: fcoroutines-ts
-// ADDITIONAL_COMPILE_FLAGS: -fcoroutines-ts
+// ADDITIONAL_COMPILE_FLAGS: -fcoroutines-ts -Wno-coroutine
 
 // A simple "breathing" test that checks that <experimental/coroutine>
 // can be parsed and used in all dialects, including C++03 in order to match
diff --git a/test/std/experimental/language.support/support.coroutines/lit.local.cfg b/test/std/experimental/language.support/support.coroutines/lit.local.cfg
index d32e99f..223de62 100644
--- a/test/std/experimental/language.support/support.coroutines/lit.local.cfg
+++ b/test/std/experimental/language.support/support.coroutines/lit.local.cfg
@@ -5,3 +5,4 @@
   config.unsupported = True
 else:
   config.test_format.addCompileFlags(config, '-fcoroutines-ts')
+  config.test_format.addCompileFlags(config, '-Wno-coroutine')