[libc++][NFC] Remove trailing whitespace from release notes
[llvm-project.git] / libcxx / test / std / depr / depr.lib.binders / depr.lib.binder.2nd / binder2nd.depr_in_cxx11.verify.cpp
blobfa25fa0e6826dc0c9396706b11d1e54b2a81834a
1 //===----------------------------------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 // <functional>
11 // binder2nd
13 // UNSUPPORTED: c++03
14 // ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_ENABLE_CXX17_REMOVED_BINDERS
16 #include <functional>
18 #include "../test_func.h"
20 typedef std::binder2nd<test_func> B2ND; // expected-warning {{'binder2nd<test_func>' is deprecated}}