re PR c++/47277 ([C++0x] pseudo destructor code that cause an internal compiler error...
authorJason Merrill <jason@redhat.com>
Sat, 28 May 2011 22:01:28 +0000 (18:01 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Sat, 28 May 2011 22:01:28 +0000 (18:01 -0400)
commit32da2be4ccf3662d354e954d705b7a8e8ea5f0eb
tree5a9b43ed379e94bbca91d2015c386650d71e7c7a
parentb8d85086edff72576dfceb94fb5e245075ec4ab6
re PR c++/47277 ([C++0x] pseudo destructor code that cause an internal compiler error with std=gnu++0x)

PR c++/47277
* parser.c (cp_parser_pseudo_destructor_name): Commit to parse
after we see the ~.

From-SVN: r174385
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/enum18.C