re PR c++/14668 (no warning anymore for reevaluation of declaration)
authorMark Mitchell <mark@codesourcery.com>
Fri, 28 May 2004 20:17:18 +0000 (20:17 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 28 May 2004 20:17:18 +0000 (20:17 +0000)
commit0c1a1ecd8062d98df568b076d71868cb022ccc50
tree96235c8e5e4f1937606c4c269e1e5b18c07385af
parent09b01df889135a0ba5a2dadfae952c8daaaeef8a
re PR c++/14668 (no warning anymore for reevaluation of declaration)

PR c++/14668
* parser.c (cp_parser_simple_type_specifier): Call
maybe_note_name_used_in_class.

PR c++/14668
* g++.dg/lookup/redecl1.C: New test.
* g++.old-deja/g++.benjamin/tem04.C: Add error marker.

From-SVN: r82375
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/redecl1.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.benjamin/tem04.C