summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/depr/depr.function.objects/depr.base/binary_function.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/depr/depr.function.objects/depr.base/binary_function.pass.cpp')
-rw-r--r--libcxx/test/std/depr/depr.function.objects/depr.base/binary_function.pass.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/test/std/depr/depr.function.objects/depr.base/binary_function.pass.cpp b/libcxx/test/std/depr/depr.function.objects/depr.base/binary_function.pass.cpp
index dbe6d1eb9ef..1ed25c7d9fd 100644
--- a/libcxx/test/std/depr/depr.function.objects/depr.base/binary_function.pass.cpp
+++ b/libcxx/test/std/depr/depr.function.objects/depr.base/binary_function.pass.cpp
@@ -21,6 +21,8 @@
#include <functional>
#include <type_traits>
+#include "test_macros.h"
+
int main(int, char**)
{
static_assert((std::is_same<std::binary_function<int, unsigned, char>::first_argument_type, int>::value), "");
OpenPOWER on IntegriCloud