Commit 0d6959a0 by Jakub Jelinek Committed by Jakub Jelinek

re PR c++/29054 (ICE on friend template specialization)

	PR c++/29054
	* g++.dg/template/friend49.C: New test.

From-SVN: r120384
parent 8a2fcf91
2007-01-03 Jakub Jelinek <jakub@redhat.com>
PR c++/29054
* g++.dg/template/friend49.C: New test.
2007-01-03 Steven G. Kargl <kargls@comcast.net>
* gfortran.dg/ibits.f90: New test.
// PR c++/29054
// { dg-do compile }
struct A
{
template <typename T, typename U> static void create (U) {}
};
struct B
{
friend void A::create <B, const char *> (const char *);
};
int
main ()
{
A::create<B>("test");
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment