URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Show entire file |
Details |
Blame |
View Log
Rev 301 |
Rev 399 |
Line 2... |
Line 2... |
// { dg-options "-Wpacked" }
|
// { dg-options "-Wpacked" }
|
// { dg-do run }
|
// { dg-do run }
|
|
|
extern "C" void abort ();
|
extern "C" void abort ();
|
|
|
struct INNER { // { dg-warning "inefficient.*vptr" "" { target alpha*-*-* ia64-*-* hppa*-*-* sparc*-*-* sh*-*-* } }
|
struct INNER { // { dg-warning "inefficient.*vptr" "" { target alpha*-*-* ia64-*-* hppa*-*-* sparc*-*-* sh*-*-* or32-*-* } }
|
virtual int foo() const { return 1; }
|
virtual int foo() const { return 1; }
|
} __attribute__ ((packed));
|
} __attribute__ ((packed));
|
|
|
struct OUTER {
|
struct OUTER {
|
char c;
|
char c;
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.