re PR c++/48599 ([C++0x] no diagnostic for invalid use of auto with array declarator)
authorJason Merrill <jason@redhat.com>
Thu, 26 May 2011 02:22:54 +0000 (22:22 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 26 May 2011 02:22:54 +0000 (22:22 -0400)
commit5df0c0c767de7cc44474504d0de8e15ac96c97b9
tree05999189321f92014015a2a38f0889e6d71355d6
parenteda19906998dbfcc1444296fa6a288456339cd17
re PR c++/48599 ([C++0x] no diagnostic for invalid use of auto with array declarator)

PR c++/48599
* decl.c (create_array_type_for_decl): Complain about array of auto.

From-SVN: r174257
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/auto24.C [new file with mode: 0644]