URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.other/] [syntax2.C] - Rev 12
Compare with Previous | Blame | View Log
// { dg-do assemble }
// { dg-options "-fsyntax-only" }
// Origin: Mark Mitchell <mark@codesourcery.com>
struct B
{
double d;
virtual void f ();
};
struct C: virtual public B
{
char c;
};
struct D: virtual public B
{
int i;
virtual void f ();
};
struct E : public C, public D
{
};
E e;