re PR c++/28860 (Trouble with bound template template parameter in specialization)
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>
Mon, 28 Aug 2006 22:34:55 +0000 (22:34 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Mon, 28 Aug 2006 22:34:55 +0000 (22:34 +0000)
commit9ce387d9cfcf19b04ca6e95d3c16e44cdf31f01c
treeab647b9e6bbd47a98a10082b10f51c8bcbec667d
parentf414f2f35e4cb2f18f2da8f28777ad797cf7b0fa
re PR c++/28860 (Trouble with bound template template parameter in specialization)

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.

From-SVN: r116541
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]