[Bug c++/57943] [c++11] invalid decltype expression accepted in template default type

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jul 24 18:40:35 GMT 2020


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

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

https://gcc.gnu.org/g:048ba9c02db7ee461abe86a37544fcd4e0cf8858

commit r11-2308-g048ba9c02db7ee461abe86a37544fcd4e0cf8858
Author: Patrick Palka <ppalka@redhat.com>
Date:   Fri Jul 24 14:31:36 2020 -0400

    c++: Add testcase for [PR81339]

    We correctly reject this testcase since r11-434, i.e. since the fix for
    PR c++/57943.

    gcc/testsuite/ChangeLog:

            PR c++/81339
            * g++.dg/cpp0x/decltype78.C: New test.


More information about the Gcc-bugs mailing list