PR c++/79566 - elaborated-type-specifier in range for
authorJason Merrill <jason@redhat.com>
Mon, 20 Feb 2017 06:05:54 +0000 (01:05 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 20 Feb 2017 06:05:54 +0000 (01:05 -0500)
commit7950124ec2fe2ae52d99766ce4eaeed7ffc8a8bd
treed88cb1eae31b80719c5437dd1023d88551c87a55
parentbea40d1191260ebd68cbe1f940e1a5b7e1efa09d
PR c++/79566 - elaborated-type-specifier in range for

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

From-SVN: r245591
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/g++.dg/cpp0x/range-for34.C [new file with mode: 0644]