URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
/* Origin: PR c/410 from Jan Echternach
|
/* Origin: PR c/410 from Jan Echternach
|
<jan.echternach@informatik.uni-rostock.de>,
|
<jan.echternach@informatik.uni-rostock.de>,
|
adapted to a testcase by Joseph Myers <jsm28@cam.ac.uk>.
|
adapted to a testcase by Joseph Myers <jsm28@cam.ac.uk>.
|
*/
|
*/
|
|
|
extern void exit (int);
|
extern void exit (int);
|
|
|
static void
|
static void
|
foo (void)
|
foo (void)
|
{
|
{
|
struct {
|
struct {
|
long a;
|
long a;
|
char b[1];
|
char b[1];
|
} x = { 2, { 0 } };
|
} x = { 2, { 0 } };
|
}
|
}
|
|
|
int
|
int
|
main (void)
|
main (void)
|
{
|
{
|
int tmp;
|
int tmp;
|
foo ();
|
foo ();
|
tmp = 1;
|
tmp = 1;
|
exit (0);
|
exit (0);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.