URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
/* Test completion of incomplete types.
|
/* Test completion of incomplete types.
|
There used to be a bug where some types from incomplete
|
There used to be a bug where some types from incomplete
|
list were accidentally lost. */
|
list were accidentally lost. */
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "" } */
|
/* { dg-options "" } */
|
|
|
typedef struct a E;
|
typedef struct a E;
|
typedef struct b F;
|
typedef struct b F;
|
typedef struct c G;
|
typedef struct c G;
|
typedef struct d H;
|
typedef struct d H;
|
struct a { int a; };
|
struct a { int a; };
|
struct c { int c; };
|
struct c { int c; };
|
struct d { int d; };
|
struct d { int d; };
|
struct b { int b; };
|
struct b { int b; };
|
int se = sizeof (E);
|
int se = sizeof (E);
|
int sf = sizeof (F);
|
int sf = sizeof (F);
|
int sg = sizeof (G);
|
int sg = sizeof (G);
|
int sh = sizeof (H);
|
int sh = sizeof (H);
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.