Fix tests with modules enabled

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@367268 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2019-07-29 22:48:51 +00:00
parent 20ea9e39b8
commit b255afb4ac
7 changed files with 7 additions and 0 deletions

View File

@@ -10,6 +10,7 @@
// binary_negate
// MODULES_DEFINES: _LIBCPP_DISABLE_DEPRECATION_WARNINGS
#define _LIBCPP_DISABLE_DEPRECATION_WARNINGS
#include <functional>

View File

@@ -10,6 +10,7 @@
// not1
// MODULES_DEFINES: _LIBCPP_DISABLE_DEPRECATION_WARNINGS
#define _LIBCPP_DISABLE_DEPRECATION_WARNINGS
#include <functional>

View File

@@ -10,6 +10,7 @@
// not2
// MODULES_DEFINES: _LIBCPP_DISABLE_DEPRECATION_WARNINGS
#define _LIBCPP_DISABLE_DEPRECATION_WARNINGS
#include <functional>

View File

@@ -10,6 +10,7 @@
// unary_negate
// MODULES_DEFINES: _LIBCPP_DISABLE_DEPRECATION_WARNINGS
#define _LIBCPP_DISABLE_DEPRECATION_WARNINGS
#include <functional>