re PR c++/38278 (C++ namespace collision)
authorJason Merrill <jason@redhat.com>
Fri, 28 Nov 2008 21:23:38 +0000 (16:23 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 28 Nov 2008 21:23:38 +0000 (16:23 -0500)
commitb5a029b139da1b89a13f756b3be4640460850495
tree984823a6c71619826a85491817e33d1179032a64
parentfdbeaf4cbe4f67b39a4a0bc2e5451acd2b0dedaf
re PR c++/38278 (C++ namespace collision)

        PR c++/38278
        * parser.c (cp_parser_class_name): Only call
        maybe_note_name_used_in_class if we actually found a class name.

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