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 //===----------------------------------------------------------------------===//
11 // REQUIRES: c++98 || c++03 || c++11 || c++14
13 // template <class Fn, class T>
15 // bind1st(const Fn& fn, const T& x);
20 #include "../test_func.h"
24 assert(std::bind1st(test_func(1), 5)(10.) == -5.);