diff --git a/libcxx/test/libcxx/algorithms/alg.modifying.operations/alg.random.shuffle/random_shuffle.cxx1z.pass.cpp b/libcxx/test/libcxx/algorithms/alg.modifying.operations/alg.random.shuffle/random_shuffle.cxx1z.pass.cpp index 2c34f7748cdd..a63c1c28b0e7 100644 --- a/libcxx/test/libcxx/algorithms/alg.modifying.operations/alg.random.shuffle/random_shuffle.cxx1z.pass.cpp +++ b/libcxx/test/libcxx/algorithms/alg.modifying.operations/alg.random.shuffle/random_shuffle.cxx1z.pass.cpp @@ -25,6 +25,7 @@ // REQUIRES: verify-support // MODULES_DEFINES: _LIBCPP_ENABLE_CXX17_REMOVED_RANDOM_SHUFFLE +// MODULES_DEFINES: _LIBCPP_DISABLE_DEPRECATION_WARNINGS #define _LIBCPP_ENABLE_CXX17_REMOVED_RANDOM_SHUFFLE #define _LIBCPP_DISABLE_DEPRECATION_WARNINGS diff --git a/libcxx/test/libcxx/depr/depr.auto.ptr/auto.ptr/auto_ptr.cxx1z.pass.cpp b/libcxx/test/libcxx/depr/depr.auto.ptr/auto.ptr/auto_ptr.cxx1z.pass.cpp index 67dadd640e40..cdf976cb606a 100644 --- a/libcxx/test/libcxx/depr/depr.auto.ptr/auto.ptr/auto_ptr.cxx1z.pass.cpp +++ b/libcxx/test/libcxx/depr/depr.auto.ptr/auto.ptr/auto_ptr.cxx1z.pass.cpp @@ -16,6 +16,7 @@ // is defined before including , then auto_ptr will be restored. // MODULES_DEFINES: _LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR +// MODULES_DEFINES: _LIBCPP_DISABLE_DEPRECATION_WARNINGS #define _LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR #define _LIBCPP_DISABLE_DEPRECATION_WARNINGS diff --git a/libcxx/test/libcxx/depr/depr.function.objects/depr.adaptors.cxx1z.pass.cpp b/libcxx/test/libcxx/depr/depr.function.objects/depr.adaptors.cxx1z.pass.cpp index 3469c27e05a9..fff0d3592f7d 100644 --- a/libcxx/test/libcxx/depr/depr.function.objects/depr.adaptors.cxx1z.pass.cpp +++ b/libcxx/test/libcxx/depr/depr.function.objects/depr.adaptors.cxx1z.pass.cpp @@ -14,6 +14,7 @@ // is defined before including , then they will be restored. // MODULES_DEFINES: _LIBCPP_ENABLE_CXX17_REMOVED_BINDERS +// MODULES_DEFINES: _LIBCPP_DISABLE_DEPRECATION_WARNINGS #define _LIBCPP_ENABLE_CXX17_REMOVED_BINDERS #define _LIBCPP_DISABLE_DEPRECATION_WARNINGS diff --git a/libcxx/test/std/utilities/function.objects/negators/binary_negate.pass.cpp b/libcxx/test/std/utilities/function.objects/negators/binary_negate.pass.cpp index cc8e4219f8f8..ba79cad80446 100644 --- a/libcxx/test/std/utilities/function.objects/negators/binary_negate.pass.cpp +++ b/libcxx/test/std/utilities/function.objects/negators/binary_negate.pass.cpp @@ -10,6 +10,7 @@ // binary_negate +// MODULES_DEFINES: _LIBCPP_DISABLE_DEPRECATION_WARNINGS #define _LIBCPP_DISABLE_DEPRECATION_WARNINGS #include diff --git a/libcxx/test/std/utilities/function.objects/negators/not1.pass.cpp b/libcxx/test/std/utilities/function.objects/negators/not1.pass.cpp index 2e436a69446a..daccbcce3362 100644 --- a/libcxx/test/std/utilities/function.objects/negators/not1.pass.cpp +++ b/libcxx/test/std/utilities/function.objects/negators/not1.pass.cpp @@ -10,6 +10,7 @@ // not1 +// MODULES_DEFINES: _LIBCPP_DISABLE_DEPRECATION_WARNINGS #define _LIBCPP_DISABLE_DEPRECATION_WARNINGS #include diff --git a/libcxx/test/std/utilities/function.objects/negators/not2.pass.cpp b/libcxx/test/std/utilities/function.objects/negators/not2.pass.cpp index e4b69068c5ff..8fb4959a776d 100644 --- a/libcxx/test/std/utilities/function.objects/negators/not2.pass.cpp +++ b/libcxx/test/std/utilities/function.objects/negators/not2.pass.cpp @@ -10,6 +10,7 @@ // not2 +// MODULES_DEFINES: _LIBCPP_DISABLE_DEPRECATION_WARNINGS #define _LIBCPP_DISABLE_DEPRECATION_WARNINGS #include diff --git a/libcxx/test/std/utilities/function.objects/negators/unary_negate.pass.cpp b/libcxx/test/std/utilities/function.objects/negators/unary_negate.pass.cpp index da75720afb01..91f09a839c18 100644 --- a/libcxx/test/std/utilities/function.objects/negators/unary_negate.pass.cpp +++ b/libcxx/test/std/utilities/function.objects/negators/unary_negate.pass.cpp @@ -10,6 +10,7 @@ // unary_negate +// MODULES_DEFINES: _LIBCPP_DISABLE_DEPRECATION_WARNINGS #define _LIBCPP_DISABLE_DEPRECATION_WARNINGS #include