PR c++/55240
commit7c99bd48472bfd42c38beaddb780c38f0e63e57f
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 Mar 2013 02:34:45 +0000 (17 02:34 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 Mar 2013 02:34:45 +0000 (17 02:34 +0000)
tree45d7915d636df24049f21e82bf64dd29fe73cfb4
parentd9b147554d6c9f015b79ec09beda789d62a35fc3
PR c++/55240
* parser.c (parsing_nsdmi): New.
* semantics.c (outer_automatic_var_p): Check it.
(finish_id_expression): Likewise.
* cp-tree.h: Declare it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196727 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/parser.c
gcc/cp/semantics.c
gcc/testsuite/g++.dg/cpp0x/nsdmi-local.C [new file with mode: 0644]