decl2.c
153 KB
-
re PR c++/109 (g++ 2.95.2 can't handle dependent friend member functions) · d5614afb
cp: PR c++/109 * decl.c (grokdeclarator): Allow friend declarations from dependant types. * decl2.c (handle_class_head): Don't push into template parm contexts. * pt.c (push_template_decl_real): Template parm contexts are never being defined. testsuite: * g++.dg/template/friend4.C: New test. From-SVN: r49589
Nathan Sidwell committed