This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Internal compiler error
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Internal compiler error
- From: "Andrey Korotchenko A." <kaa at relex dot ru>
- Date: Tue, 29 May 2001 13:49:43 +0400
- Organization: Relex Inc.
gcc version 2.95.3 [FreeBSD] 20010315 (release)
g++ 1.cpp
where 1.cpp is:
class A
{
public:
static int func();
};
template <class T>
class B: public A
{
public:
T cc;
friend int A::func();
};
B<int> Bi;
class A
{
public:
static int func();
};
template <class T>
class B: public A
{
public:
T cc;
friend int A::func();
};
B<int> Bi;