re PR c++/28861 (ICE on invalid in-class specialization)
authorLee Millward <lee.millward@codesourcery.com>
Thu, 21 Sep 2006 18:22:11 +0000 (18:22 +0000)
committerLee Millward <lmillward@gcc.gnu.org>
Thu, 21 Sep 2006 18:22:11 +0000 (18:22 +0000)
commitd2a8ac2cf23c32f56a8aa2a820859aa91b810f31
tree1951a9dc7fa513c992fe91492b224f0110e7f624
parent7ffb61d5030d7299320beb9b16978a66d6513d86
re PR c++/28861 (ICE on invalid in-class specialization)

        PR c++/28861
        * decl.c (shadow_tag): Return error_mark_node
        if maybe_process_partial_specialization failed.

        * g++.dg/template/spec32.C: New test.
        * g++.dg/parse/crash9.C: Adjust error markers.

From-SVN: r117117
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/crash9.C
gcc/testsuite/g++.dg/template/spec32.C [new file with mode: 0644]