re PR c++/47635 ([C++0x] ICE on invalid code in constructor_name_p, at cp/name-lookup...
authorJason Merrill <jason@redhat.com>
Mon, 20 Jun 2011 14:40:29 +0000 (10:40 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 20 Jun 2011 14:40:29 +0000 (10:40 -0400)
commitde721390198dfc1d1521b315ad96e556d950224a
tree9cf3845a2f9654498cfcaa0aa475f75b9b85cb97
parent053225431604d09cbe1d1495581b71a85a72dd1f
re PR c++/47635 ([C++0x] ICE on invalid code in constructor_name_p, at cp/name-lookup.c:1809)

PR c++/47635
* decl.c (grokdeclarator): Don't set ctype to an ENUMERAL_TYPE.

From-SVN: r175216
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/enum20.C [new file with mode: 0644]