re PR c++/28513 (QOI: Diagnostic missing since 3.3.x when naming rule is violated)
authorJason Merrill <jason@redhat.com>
Thu, 20 Nov 2008 20:23:32 +0000 (15:23 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 20 Nov 2008 20:23:32 +0000 (15:23 -0500)
commita6bf9022494b0784d2e132bbbef9313174aa8ff5
tree9c275e3d108b5c1e677abc00cb06de478d0387e6
parentc7962e7d5dc3ccbbd1a0454eab655e50a7e78049
re PR c++/28513 (QOI: Diagnostic missing since 3.3.x when naming rule is violated)

        PR c++/28513
        * parser.c (cp_parser_class_name): Call maybe_note_name_used_in_class.

From-SVN: r142056
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/name-clash7.C [new file with mode: 0644]