URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [abi/] [vbase1.C] - Rev 307
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do compile }
// Copyright (C) 2001 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 5 Sept 2001 <nathan@codesourcery.com>
// Bug 3986. Another indirect primary base problem.
struct Consts
{
};
struct MathLib :
virtual Consts
{
};
struct Parallel :
virtual Consts
{
};
struct Particles :
virtual MathLib,
virtual Parallel
{
};
struct Ring :
virtual Particles
{
};
struct Injection :
virtual Particles,
virtual Ring
{
};
struct LSpaceCharge :
virtual Ring,
virtual Injection
{
};
struct Bump :
virtual Consts
{
};
struct Output :
virtual Injection,
virtual Bump
{
};
struct Plots :
virtual LSpaceCharge,
virtual Output
{
};
Go to most recent revision | Compare with Previous | Blame | View Log