re PR c++/69855 (Missing diagnostic for overload that only differs by return type)
/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. From-SVN: r236826
Showing
gcc/testsuite/g++.dg/overload/69855.C
0 → 100644
Please
register
or
sign in
to comment