OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [template/] [inherit2.C] - Diff between revs 154 and 816

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 154 Rev 816
// PR c++/5658
// PR c++/5658
// Copyright (C) 2002 Free Software Foundation, Inc.
// Copyright (C) 2002 Free Software Foundation, Inc.
// Contributed by Theodore.Papadopoulo 11 Feb 2002 
// Contributed by Theodore.Papadopoulo 11 Feb 2002 
struct A {
struct A {
    typedef int iterator;
    typedef int iterator;
};
};
template 
template 
struct B: public A {
struct B: public A {
    template 
    template 
    struct iterator {
    struct iterator {
    };
    };
    B() { }
    B() { }
};
};
int main()
int main()
{
{
    B a;
    B a;
}
}
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.