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/] [other/] [pr22003.C] - Diff between revs 149 and 154

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

Rev 149 Rev 154
/* PR rtl-optimization/22003 */
/* PR rtl-optimization/22003 */
/* { dg-do compile } */
/* { dg-do compile } */
/* { dg-require-effective-target freorder } */
/* { dg-require-effective-target freorder } */
/* { dg-options "-O2 -fno-exceptions -freorder-blocks-and-partition" } */
/* { dg-options "-O2 -fno-exceptions -freorder-blocks-and-partition" } */
struct c1
struct c1
{
{
      virtual ~c1();
      virtual ~c1();
};
};
class c4;
class c4;
struct c2
struct c2
{
{
      virtual c4* func();
      virtual c4* func();
};
};
struct c3 : c1, c2
struct c3 : c1, c2
{
{
      c4* func();
      c4* func();
};
};
c4* c3::func()
c4* c3::func()
{
{
}
}
 
 

powered by: WebSVN 2.1.0

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