This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Internal compiler error


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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]