diff options
author | ville <ville@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-05-27 14:59:01 +0000 |
---|---|---|
committer | ville <ville@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-05-27 14:59:01 +0000 |
commit | 5d8a8944a196a318d6fdae225f74b9005144a413 (patch) | |
tree | 5a2c297fd37b69d9c6efc9a705000ebc7a8bca8b /gcc/config/openbsd.h | |
parent | e4dea112e42311165254f9bb0e539aa666f24571 (diff) | |
download | gcc-5d8a8944a196a318d6fdae225f74b9005144a413.tar.gz |
/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
Diffstat (limited to 'gcc/config/openbsd.h')
0 files changed, 0 insertions, 0 deletions