| //===----------------------------------------------------------------------===// |
| // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| // See https://llvm.org/LICENSE.txt for license information. |
| // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| //===----------------------------------------------------------------------===// |
| // template <class... ArgTypes> |
| // requires Callable<T, ArgTypes&&...> |
| // Callable<T, ArgTypes&&...>::result_type |
| // operator()(ArgTypes&&... args) const; |
| int operator()() {return 4;} |
| std::reference_wrapper<int ()> r1(f_int_0); |
| std::reference_wrapper<int (*)()> r1(fp); |
| std::reference_wrapper<A_int_0> r1(a0); |