]> git.ipfire.org Git - thirdparty/gcc.git/commit
parser.c (cp_parser_type_id_1): 'auto' type is ok with a late-specified return type.
authorJason Merrill <jason@redhat.com>
Tue, 9 Jun 2009 04:18:54 +0000 (00:18 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 9 Jun 2009 04:18:54 +0000 (00:18 -0400)
commit3dbbb7af5b4dd3ae01a9347081f4b486d3752160
treeb7e0fcb69c34f807be32cbe3b5ca5c32518d8e1c
parent92b672095e73e4f09750f5f5b010ecabc1e001c4
parser.c (cp_parser_type_id_1): 'auto' type is ok with a late-specified return type.

* parser.c (cp_parser_type_id_1): 'auto' type is ok with a
late-specified return type.

From-SVN: r148306
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/auto15.C [new file with mode: 0644]