1 //===----------------------------------------------------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
14 // UNSUPPORTED: clang-4.0
15 // UNSUPPORTED: c++98, c++03
16 // REQUIRES: verify-support
18 // MODULES_DEFINES: _LIBCPP_ENABLE_DEPRECATION_WARNINGS
19 // MODULES_DEFINES: _LIBCPP_ENABLE_CXX17_REMOVED_BINDERS
20 #define _LIBCPP_ENABLE_DEPRECATION_WARNINGS
21 #define _LIBCPP_ENABLE_CXX17_REMOVED_BINDERS
25 #include "../test_func.h"
26 #include "test_macros.h"
30 typedef std::binder1st<test_func> B1ST; // expected-error{{'binder1st<test_func>' is deprecated}}