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

--- Comment #4 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Sat Dec 15 09:07:38 2018
New Revision: 267165

URL: https://gcc.gnu.org/viewcvs?rev=267165&root=gcc&view=rev
Log:
/cp
2018-12-15  Paolo Carlini  <paolo.carl...@oracle.com>

        PR c++/84644
        * decl.c (check_tag_decl): A decltype with no declarator
        doesn't declare anything.

/testsuite
2018-12-15  Paolo Carlini  <paolo.carl...@oracle.com>

        PR c++/84644
        * g++.dg/cpp0x/decltype68.C: New.
        * g++.dg/cpp0x/decltype-33838.C: Adjust.
        * g++.dg/template/spec32.C: Likewise.
        * g++.dg/template/ttp22.C: Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/decltype68.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/cpp0x/decltype-33838.C
    trunk/gcc/testsuite/g++.dg/template/spec32.C
    trunk/gcc/testsuite/g++.dg/template/ttp22.C

Reply via email to