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]
Other format: [Raw text]

[Bug c++/16391] [3.3 Regression] Segmentation fault when mixing inheritance, templates and friends


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-07-13 21:19 -------
Even more compact testcase:

=======================================
struct A {};

template<typename> struct B : A {};

template<typename T> struct C : B<T>
{
    friend class A;
    C() : B<T>() {}
};
=======================================


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
           Keywords|                            |monitored


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16391


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