This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/79566] [6 Regression] elaborated-type-specifier incorrectly rejected in range-based for


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

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Apr 12 19:22:50 2017
New Revision: 246887

URL: https://gcc.gnu.org/viewcvs?rev=246887&root=gcc&view=rev
Log:
        PR c++/79566 - elaborated-type-specifier in range for

        * parser.c (cp_parser_simple_declaration): Fix check for type
        definition.

Added:
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp0x/range-for34.C
Modified:
    branches/gcc-6-branch/gcc/cp/ChangeLog
    branches/gcc-6-branch/gcc/cp/parser.c

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]