re PR c++/28999 (ICE on invalid use of typename)
authorMark Mitchell <mark@codesourcery.com>
Thu, 11 Jan 2007 03:24:33 +0000 (03:24 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 11 Jan 2007 03:24:33 +0000 (03:24 +0000)
commit50ef2c18a91c06d941997b642afa1eb35168ea33
treefe8b2af8964b498a3cfd237e8fc13295dd11510a
parentca15e36529c220d2293207797c6e20e5e88beb14
re PR c++/28999 (ICE on invalid use of typename)

PR c++/28999
* decl.c (make_typename_type): If the qualified name is not a
type, issue an error.
* parser.c (cp_parser_elaborated_type_specifier): Fix comment
formatting.

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