diff options
author | Mark Mitchell <mark@codesourcery.com> | 2006-10-17 22:43:37 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2006-10-17 22:43:37 +0000 |
commit | d19b84e94b3a0b93c02128f4a9f34281a70ebf41 (patch) | |
tree | d259806834b4f4ee036d1af0e724187d570c357b /libgfortran/runtime/environ.c | |
parent | c7b0e0273ea01ccc3a8b8065944f89b6d619e787 (diff) | |
download | gcc-d19b84e94b3a0b93c02128f4a9f34281a70ebf41.zip gcc-d19b84e94b3a0b93c02128f4a9f34281a70ebf41.tar.gz gcc-d19b84e94b3a0b93c02128f4a9f34281a70ebf41.tar.bz2 |
re PR c++/28261 (ICE with enum in constructor definition)
PR c++/28261
* parser.c (cp_lexer_next_token_is_decl_specifier_keyword): New
function.
(cp_parser_constructor_declarator_p): Use it.
(cp_parser_check_type_definition): Return a value indicating
whether or not the definition is valid.
(cp_parser_enum_specifier): Skip invalid enum definitions.
PR c++/28261
* g++.dg/parse/enum3.C: New test.
From-SVN: r117835
Diffstat (limited to 'libgfortran/runtime/environ.c')
0 files changed, 0 insertions, 0 deletions