http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46245
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-05-25 20:29:56 UTC --- Author: jason Date: Wed May 25 20:29:54 2011 New Revision: 174234 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174234 Log: PR c++/46245 * decl.c (grokdeclarator): Complain later for auto parameter. * pt.c (splice_late_return_type): Handle use in a template type-parameter. Added: branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/auto23.C Modified: branches/gcc-4_6-branch/gcc/cp/ChangeLog branches/gcc-4_6-branch/gcc/cp/decl.c branches/gcc-4_6-branch/gcc/cp/pt.c branches/gcc-4_6-branch/gcc/testsuite/ChangeLog branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/auto9.C