URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 298 |
Rev 384 |
/* Test function return values. Struct members are char, int, double,
|
/* Test function return values. Struct members are char, int, double,
|
and other structs containing these types. This test was written in
|
and other structs containing these types. This test was written in
|
response to a layout change for such structs for powerpc64-linux,
|
response to a layout change for such structs for powerpc64-linux,
|
but this test only checks similar structs that are not affected by
|
but this test only checks similar structs that are not affected by
|
that break in compatibility. */
|
that break in compatibility. */
|
|
|
extern void struct_return_19_x (void);
|
extern void struct_return_19_x (void);
|
extern void exit (int);
|
extern void exit (int);
|
int fails;
|
int fails;
|
|
|
int
|
int
|
main ()
|
main ()
|
{
|
{
|
struct_return_19_x ();
|
struct_return_19_x ();
|
exit (0);
|
exit (0);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.