OSDN Git Service

2007-07-02 Simon Baldwin <simonb@google.com>
authorsimonb <simonb@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 2 Jul 2007 17:57:57 +0000 (17:57 +0000)
committersimonb <simonb@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 2 Jul 2007 17:57:57 +0000 (17:57 +0000)
commitf1f71333423e4f0415bc812224bf91ebef82d24e
tree3a99335dd999003cb987b005ffaed594727657ea
parent333d9b8a3effc0dfd3cfdaf1bae1939f55a6b7a0
2007-07-02  Simon Baldwin  <simonb@google.com>

        * parser.c (cp_parser_elaborated_type_specifier): Added a warning
        for inner-style nested forward declarations that don't declare
        anything useful.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126219 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/g++.dg/warn/forward-inner.C [new file with mode: 0644]