URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [other/] [pr22003.C] - Rev 693
Compare with Previous | Blame | View Log
/* PR rtl-optimization/22003 */
/* { dg-do compile } */
/* { dg-require-effective-target freorder } */
/* { dg-options "-O2 -fno-exceptions -freorder-blocks-and-partition" } */
struct c1
{
virtual ~c1();
};
class c4;
struct c2
{
virtual c4* func();
};
struct c3 : c1, c2
{
c4* func();
};
c4* c3::func()
{
}