re PR c++/7176 (g++ confused by friend and static member with same name)
authorMark Mitchell <mark@codesourcery.com>
Mon, 14 Oct 2002 21:09:25 +0000 (21:09 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 14 Oct 2002 21:09:25 +0000 (21:09 +0000)
commit77631fa7edc6a2b6c4177c0f7a3b1eb454e372c3
tree7142d32b87fe2af1def71461c8e942143c3586f4
parentf5204e6cb8ccfb786d254836ca4c06d3787b6c59
re PR c++/7176 (g++ confused by friend and static member with same name)

PR c++/7176
* g++.dg/parse/friend1.C: New test.
* g++.old-deja/g++.pt/memtemp64.C: Adjust.

PR c++/7176
* lex.c (do_identifier): Add another option for the parsing
parameter.
* parse.y (do_id): Use it.

From-SVN: r58135
gcc/cp/ChangeLog
gcc/cp/lex.c
gcc/cp/parse.y
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/friend1.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.pt/memtemp64.C