re PR c++/56646 (ICE: in cp_parser_late_return_type_opt, at cp/parser.c:16970)
authorJason Merrill <jason@redhat.com>
Thu, 21 Mar 2013 03:25:42 +0000 (23:25 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 21 Mar 2013 03:25:42 +0000 (23:25 -0400)
commitefcf217b1c9e82dc377feaeeb6ba86001d0a9d95
treeba4ebb1ef7c7e87b6e92a85b018f824fc66f9f69
parentdeaae9d7c73f87cfd2a0125411fdc54824b5d410
re PR c++/56646 (ICE: in cp_parser_late_return_type_opt, at cp/parser.c:16970)

PR c++/56646
* parser.c (cp_parser_late_return_type_opt): Save and restore
current_class_ptr/ref.

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