re PR c++/32870 (Unclear error message when declaring struct in wrong namespace)
authorPaolo Carlini <paolo@gcc.gnu.org>
Fri, 17 Aug 2007 09:35:23 +0000 (09:35 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 17 Aug 2007 09:35:23 +0000 (09:35 +0000)
commit968fc32d20c8dc013d0635055cc7f0f359062d5a
tree5662c19893da9cc162b492a627134673640d87e1
parent5837d3c8f00558d1b8f1091fda92a808e5c29b15
re PR c++/32870 (Unclear error message when declaring struct in wrong namespace)

/cp
2007-08-17  Paolo Carlini  <pcarlini@suse.de>

PR c++/32870
* parser.c (cp_parser_class_head): Improve error message.

/testsuite
2007-08-17  Paolo Carlini  <pcarlini@suse.de>

PR c++/32870
* g++.dg/other/error17.C: Adjust.

From-SVN: r127581
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/error17.C [new file with mode: 0644]