diff options
| author | Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> | 2004-10-20 16:20:50 +0000 | 
|---|---|---|
| committer | Kriang Lerdsuwanakij <lerdsuwa@gcc.gnu.org> | 2004-10-20 16:20:50 +0000 | 
| commit | b939a02360cf41893436921e319c4283f2d6edb5 (patch) | |
| tree | 36d5919ab016d6c55b8dee09fb15a76c348df75e /libjava/java/util/Collection.java | |
| parent | 23517e6b4ea01d0af35984f8473a235a29ff93c7 (diff) | |
| download | gcc-b939a02360cf41893436921e319c4283f2d6edb5.zip gcc-b939a02360cf41893436921e319c4283f2d6edb5.tar.gz gcc-b939a02360cf41893436921e319c4283f2d6edb5.tar.bz2  | |
re PR c++/13495 (Friendship to class nested within a template is broken)
	PR c++/13495
	* decl.c (make_unbound_class_template): Add PARM_LIST parameter.
	* cp-tree.h (make_unbound_class_template): Adjust prototype.
	* parser.c (cp_parser_lookup_name): Adjust call to
	make_unbound_class_template.
	(cp_parser_single_declaration): Handle member class of class
	template as template friend parsing correctly.
	* friend.c (is_friend): Call is_specialization_of_friend for
	template friend class.
	(make_friend_class): Handle member class of class template as
	template friend.
	* pt.c (is_specialization_of_friend): Likewise.
	(instantiate_class_template): Likewise.
	(tsubst): Adjust call to make_unbound_class_template.
	* g++.dg/template/memfriend9.C: New test.
	* g++.dg/template/memfriend10.C: Likewise.
	* g++.dg/template/memfriend11.C: Likewise.
	* g++.dg/template/memfriend12.C: Likewise.
	* g++.dg/template/memfriend13.C: Likewise.
	* g++.dg/template/memfriend14.C: Likewise.
	* g++.dg/template/memfriend15.C: Likewise.
	* g++.dg/template/memfriend16.C: Likewise.
	* g++.dg/template/memfriend17.C: Likewise.
	* g++.old-deja/g++.pt/friend44.C: Remove bogus error.
From-SVN: r89335
Diffstat (limited to 'libjava/java/util/Collection.java')
0 files changed, 0 insertions, 0 deletions
