PR c++/19894
authorreichelt <reichelt@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Jun 2005 11:09:13 +0000 (11:09 +0000)
committerreichelt <reichelt@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Jun 2005 11:09:13 +0000 (11:09 +0000)
commitf7d1c2eaa5f2ac6b0e3de2a2a03c7bbd47ab2a59
treed807bfd40a0af5e5e71210780fe36ea13da24aee
parentaa2728665e442736d6e84d2bf5eda5245a6989e3
PR c++/19894
* pt.c (tsubst): Reject pointer-to-member of type void.

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

PR c++/20563
* parser.c (cp_parser_label_declaration): Deal with invalid/missing
identifiers.

* g++.dg/ext/label4.C: New test.

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