URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
// { dg-do assemble }
|
// { dg-do assemble }
|
// { dg-options "-w" }
|
// { dg-options "-w" }
|
// GROUPS passed vtable
|
// GROUPS passed vtable
|
// vtable file
|
// vtable file
|
// From: mrs@cygnus.com (Mike Stump)
|
// From: mrs@cygnus.com (Mike Stump)
|
// Date: Wed, 20 Apr 1994 17:46:11 -0700
|
// Date: Wed, 20 Apr 1994 17:46:11 -0700
|
// Subject: vtable name generation is wrong
|
// Subject: vtable name generation is wrong
|
// Message-ID: <199404210046.RAA25652@rtl.cygnus.com>
|
// Message-ID: <199404210046.RAA25652@rtl.cygnus.com>
|
|
|
// prepare_fresh_vtable doesn't build the names of
|
// prepare_fresh_vtable doesn't build the names of
|
// vtables very well.
|
// vtables very well.
|
|
|
struct B {
|
struct B {
|
virtual void vf() { }
|
virtual void vf() { }
|
};
|
};
|
|
|
struct Main {
|
struct Main {
|
virtual void vf() { }
|
virtual void vf() { }
|
};
|
};
|
|
|
struct Other : public Main, public B {
|
struct Other : public Main, public B {
|
virtual void vf() { }
|
virtual void vf() { }
|
};
|
};
|
|
|
struct D : public Main, public B, public Other {
|
struct D : public Main, public B, public Other {
|
virtual void vf() { }
|
virtual void vf() { }
|
} a;
|
} a;
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.