OSDN Git Service

PR c++/28860
authorreichelt <reichelt@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 28 Aug 2006 22:34:55 +0000 (22:34 +0000)
committerreichelt <reichelt@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 28 Aug 2006 22:34:55 +0000 (22:34 +0000)
commit2ce07779975917f1891c39120b6ba1e06e451635
treeab647b9e6bbd47a98a10082b10f51c8bcbec667d
parent58f43b9022418d659bfa7c3600662fdecd313774
PR c++/28860
* cp-tree.h (maybe_process_partial_specialization): Return
tree instead of void.
* parser.c (cp_parser_class_head): Use return value of
maybe_process_partial_specialization.
* pt.c (maybe_process_partial_specialization): Return error_mark_node
for broken specializations, TYPE otherwise.  Check for template
template parameters.

* g++.dg/template/ttp22.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116541 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/parser.c
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/ttp22.C [new file with mode: 0644]