]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/testsuite/ChangeLog
/cp
authorville <ville@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 May 2016 14:59:01 +0000 (14:59 +0000)
committerville <ville@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 May 2016 14:59:01 +0000 (14:59 +0000)
commit5d8a8944a196a318d6fdae225f74b9005144a413
tree5a2c297fd37b69d9c6efc9a705000ebc7a8bca8b
parente4dea112e42311165254f9bb0e539aa666f24571
/cp
PR c++/69855
* name-lookup.c (pushdecl_maybe_friend_1): Push local function
decls into the global scope after stripping template bits
and setting DECL_ANTICIPATED.

/testsuite
PR c++/69855
* g++.dg/overload/69855.C: New.
* g++.old-deja/g++.law/missed-error2.C: Adjust.
* g++.old-deja/g++.pt/crash3.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@236826 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/overload/69855.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.law/missed-error2.C
gcc/testsuite/g++.old-deja/g++.pt/crash3.C