https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105779

--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jason Merrill <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:72e52b88582e738c8b8bde5f85af63d3a0e15d2b

commit r13-919-g72e52b88582e738c8b8bde5f85af63d3a0e15d2b
Author: Jason Merrill <ja...@redhat.com>
Date:   Tue May 31 16:17:58 2022 -0400

    c++: auto function as function argument [PR105779]

    This testcase demonstrates that the issue in PR105623 is not limited to
    templates, so we should do the marking in a less template-specific place.

            PR c++/105779

    gcc/cp/ChangeLog:

            * call.cc (resolve_args): Call mark_single_function here.
            * pt.cc (unify_one_argument): Not here.

    gcc/testsuite/ChangeLog:

            * g++.dg/cpp1y/auto-fn63.C: New test.

Reply via email to