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

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Marek Polacek <mpola...@gcc.gnu.org>:

https://gcc.gnu.org/g:49df367b17995c54fabe5bca290eede7dfab05b3

commit r11-7494-g49df367b17995c54fabe5bca290eede7dfab05b3
Author: Marek Polacek <pola...@redhat.com>
Date:   Wed Mar 3 15:10:21 2021 -0500

    c++: Add fixed test [PR96474]

    Was happy to find out that my recent dguide fix (r11-7483) fixed
    this test too.  In particular, the

    +  /* Wait until the enclosing scope is non-dependent.  */
    +  if (DECL_CLASS_SCOPE_P (tmpl)
    +      && dependent_type_p (DECL_CONTEXT (tmpl)))
    +    return ptype;

    bit.

    gcc/testsuite/ChangeLog:

            PR c++/96474
            * g++.dg/cpp1z/class-deduction83.C: New test.

Reply via email to