1 //===----------------------------------------------------------------------===//
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
7 //===----------------------------------------------------------------------===//
16 typedef int first_argument_type
;
17 typedef double second_argument_type
;
18 typedef long double result_type
;
20 explicit test_func(int id
) : id_(id
) {}
22 int id() const {return id_
;}
24 result_type
operator() (const first_argument_type
& x
, second_argument_type
& y
) const
26 result_type
operator() (const first_argument_type
& x
, const second_argument_type
& y
) const
28 result_type
operator() (first_argument_type
& x
, const second_argument_type
& y
) const