re PR c++/26571 (Bad diagnostic using type modifier with struct)
authorJason Merrill <jason@redhat.com>
Wed, 6 Sep 2006 05:28:08 +0000 (01:28 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 6 Sep 2006 05:28:08 +0000 (01:28 -0400)
commit5df1740de4c12ae9b6d6305069106683f8f82694
tree42914114a5791d5f41233296c6693160f0278987
parenta1a9524971df4d4991760ccb1189049f067c7e80
re PR c++/26571 (Bad diagnostic using type modifier with struct)

        PR c++/26571
        * parser.c (cp_parser_diagnose_invalid_type_name): Handle the case
        where the name is a type used incorrectly.

From-SVN: r116715
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/g++.dg/parse/typespec1.C [new file with mode: 0644]