PR c++/8067
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Oct 2002 00:01:37 +0000 (00:01 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Oct 2002 00:01:37 +0000 (00:01 +0000)
commitf8821526dcd2c2f13d31408c43db63a8d125e39f
tree3d5249f221f268561ba0e176a992e683d5880f57
parent21e334f91b0ba05b4dba7728ad8f07fb54f24833
PR c++/8067
* decl.c (maybe_inject_for_scope_var): Ignore __FUNCTION__ and
related variables.

PR c++/8067
* g++.dg/lookup/pretty1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58477 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/pretty1.C [new file with mode: 0644]