]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/13451 (Wrong error message with qualified names for member declarations)
authorMark Mitchell <mark@codesourcery.com>
Mon, 5 Jan 2004 19:54:35 +0000 (19:54 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 5 Jan 2004 19:54:35 +0000 (19:54 +0000)
commit8808159929f6f9b9a28975f8bddb400dcc83e6d2
treeeacfffffa6f5d9da8edcccf8bb60843d72bde99c
parent02fef8539ebbe2e8d71f1c8fcb699942e4e0cfdb
re PR c++/13451 (Wrong error message with qualified names for member declarations)

PR c++/13451
* parser.c (cp_parser_class_head): Reorder logic to check for
invalid qualification.

PR c++/13451
* g++.dg/template/class2.C: New test.

From-SVN: r75440
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/class2.C [new file with mode: 0644]