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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [debug/] [using4.C] - Rev 693

Compare with Previous | Blame | View Log

// PR c++/26256
// { dg-do compile }

struct A
{
    typedef char type;
};

struct B
{
    typedef int type;
};

struct C : A, B
{
    using A::type;
    type f (type);
};

C::type C::f( type )
{
    type c = 'e';
    return c;
}

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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