OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [memtemp58.C] - Diff between revs 305 and 338

Only display areas with differences | Details | Blame | View Log

Rev 305 Rev 338
// { dg-do assemble  }
// { dg-do assemble  }
// GROUPS passed templates membertemplates
// GROUPS passed templates membertemplates
template
template
struct B {
struct B {
};
};
template
template
struct D {
struct D {
    struct E {
    struct E {
        template
        template
        static void f(B)
        static void f(B)
        { }
        { }
    };
    };
};
};
template
template
struct A {
struct A {
    template
    template
    static void f(B, B b)
    static void f(B, B b)
    {
    {
        typedef typename D::E E;
        typedef typename D::E E;
        E::f(b);
        E::f(b);
    }
    }
};
};
void foo()
void foo()
{
{
    A<5>::f(B<5,float>(),B<3,float>());
    A<5>::f(B<5,float>(),B<3,float>());
}
}
 
 

powered by: WebSVN 2.1.0

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