diff options
author | mmitchel <> | 2005-10-11 15:38:52 +0000 |
---|---|---|
committer | mmitchel <> | 2005-10-11 15:38:52 +0000 |
commit | ceae7f6f5123ceb80a92b5263e1ec7c1b13e811f (patch) | |
tree | 023c7aeb69682b23b3d71f879065e214f8895f29 /gcc/cp/ChangeLog | |
parent | fec9e0f836f0ca8b374523db0dab6662a65551d2 (diff) |
PR c++/21369
* parser.c (cp_parser_elaborated_type_specifier): Don't treat
class types as templates if the type is not appearing as part of a
type definition or declaration.
PR c++/21369
* g++.dg/parse/ret-type3.C: New test.
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r-- | gcc/cp/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 9fa7f0db3ca..7842a019fe7 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,10 @@ +2005-10-11 Mark Mitchell <mark@codesourcery.com> + + PR c++/21369 + * parser.c (cp_parser_elaborated_type_specifier): Don't treat + class types as templates if the type is not appearing as part of a + type definition or declaration. + 2005-10-10 Mark Mitchell <mark@codesourcery.com> PR c++/24277 |