diff --git a/test/libcxx/algorithms/alg.modifying.operations/alg.random.shuffle/random_shuffle.cxx1z.pass.cpp b/test/libcxx/algorithms/alg.modifying.operations/alg.random.shuffle/random_shuffle.cxx1z.pass.cpp index 2c34f7748..a63c1c28b 100644 --- a/test/libcxx/algorithms/alg.modifying.operations/alg.random.shuffle/random_shuffle.cxx1z.pass.cpp +++ b/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/test/libcxx/depr/depr.auto.ptr/auto.ptr/auto_ptr.cxx1z.pass.cpp b/test/libcxx/depr/depr.auto.ptr/auto.ptr/auto_ptr.cxx1z.pass.cpp index 67dadd640..cdf976cb6 100644 --- a/test/libcxx/depr/depr.auto.ptr/auto.ptr/auto_ptr.cxx1z.pass.cpp +++ b/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/test/libcxx/depr/depr.function.objects/depr.adaptors.cxx1z.pass.cpp b/test/libcxx/depr/depr.function.objects/depr.adaptors.cxx1z.pass.cpp index 3469c27e0..fff0d3592 100644 --- a/test/libcxx/depr/depr.function.objects/depr.adaptors.cxx1z.pass.cpp +++ b/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/test/std/utilities/function.objects/negators/binary_negate.pass.cpp b/test/std/utilities/function.objects/negators/binary_negate.pass.cpp index cc8e4219f..ba79cad80 100644 --- a/test/std/utilities/function.objects/negators/binary_negate.pass.cpp +++ b/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/test/std/utilities/function.objects/negators/not1.pass.cpp b/test/std/utilities/function.objects/negators/not1.pass.cpp index 2e436a694..daccbcce3 100644 --- a/test/std/utilities/function.objects/negators/not1.pass.cpp +++ b/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/test/std/utilities/function.objects/negators/not2.pass.cpp b/test/std/utilities/function.objects/negators/not2.pass.cpp index e4b69068c..8fb4959a7 100644 --- a/test/std/utilities/function.objects/negators/not2.pass.cpp +++ b/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/test/std/utilities/function.objects/negators/unary_negate.pass.cpp b/test/std/utilities/function.objects/negators/unary_negate.pass.cpp index da75720af..91f09a839 100644 --- a/test/std/utilities/function.objects/negators/unary_negate.pass.cpp +++ b/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