------- Additional Comments From reichelt at gcc dot gnu dot org  2005-07-25 
13:11 -------
Here's an example that only contains one error:

==============================================
struct A;

struct B
{
    virtual A* foo();
};

namespace N
{
    struct A : B
    {
        virtual A* foo(); // should be ::A*
    };
}
==============================================


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
           Keywords|                            |monitored
            Summary|[4.0/4.1 Regression]        |[4.0/4.1 Regression] ICE
                   |"internal compiler error"   |after invalid covariant
                   |after invalid covariant     |return
                   |return                      |


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

Reply via email to