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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [tree-ssa/] [pr20489.C] - Diff between revs 149 and 154

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

Rev 149 Rev 154
/* { dg-do compile } */
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* { dg-options "-O2" } */
struct A
struct A
{
{
        ~A();
        ~A();
};
};
/* If we don't create SFT's for the "empty" structure A, bad things
/* If we don't create SFT's for the "empty" structure A, bad things
   will happen, and we will fail verification.  */
   will happen, and we will fail verification.  */
struct B
struct B
{
{
        int i;
        int i;
        A a;
        A a;
        void foo() {}
        void foo() {}
};
};
void bar()
void bar()
{
{
        B().foo();
        B().foo();
}
}
 
 

powered by: WebSVN 2.1.0

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