This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/6289: partial template specialization and friend
- From: Reichelt <reichelt at igpm dot rwth-aachen dot de>
- To: gcc-gnats at gcc dot gnu dot org, jototland at hotmail dot com, gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: Wed, 8 May 2002 00:42:23 +0200
- Subject: Re: c++/6289: partial template specialization and friend
Hi,
the testcase can be reduced even further to the following code snippet
which still crashes gcc 3.1 as of 20020506.
---------------------------snip here--------------------------
struct A
{
typedef int type;
};
template <typename T>
class B
{
typedef A::type X;
friend class X;
};
---------------------------snip here--------------------------
Greetings,
Volker Reichelt
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6289