This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/48599] [C++0x] no diagnostic for invalid use of auto with array declarator


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48599

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-05-26 02:22:56 UTC ---
Author: jason
Date: Thu May 26 02:22:54 2011
New Revision: 174257

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174257
Log:
    PR c++/48599
    * decl.c (create_array_type_for_decl): Complain about array of auto.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/auto24.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]