re PR c++/14389 (Out-of-line of overloaded template rejected)
PR c++/14389 * decl2.c (check_classfn): For member templates, compare also the template parameters to match the declaration. * cp-tree.h: Adjust declaration of check_classfn. * decl.c (start_decl, grokfndecl): Adjust callers of check_classfn. * friend.c (do_friend): Likewise. * pt.c (tsubst_friend_function): Likewise. PR c++/14389 * g++.dg/template/member5.C: New test. From-SVN: r81426
Showing
gcc/testsuite/g++.dg/template/member5.C
0 → 100644
Please
register
or
sign in
to comment