re PR c++/47144 (Doesn't reject attempt to define type in template argument; results...
authorJason Merrill <jason@redhat.com>
Fri, 11 Mar 2011 22:47:59 +0000 (17:47 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 11 Mar 2011 22:47:59 +0000 (17:47 -0500)
commit8318b14cae7802b2c9e2158dfccfaa7a63bed39a
tree4ad1a877c178c9591fd93ebb4c1653444ebc4469
parentf231b5ff3ff72471bbe245863c3e37d96ed7d950
re PR c++/47144 (Doesn't reject attempt to define type in template argument; results in weird parse)

PR c++/47144
* parser.c (cp_parser_template_type_arg): Set
type_definition_forbidden_message.

From-SVN: r170888
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/no-type-defn1.C [new file with mode: 0644]