URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 298 |
Rev 338 |
/* Test structures passed by value, including to a function with a
|
/* Test structures passed by value, including to a function with a
|
variable-length argument list. Each struct contains an array
|
variable-length argument list. Each struct contains an array
|
of small structs, each with three scalar members. */
|
of small structs, each with three scalar members. */
|
|
|
extern void struct_by_value_9_x (void);
|
extern void struct_by_value_9_x (void);
|
extern void exit (int);
|
extern void exit (int);
|
int fails;
|
int fails;
|
|
|
int
|
int
|
main ()
|
main ()
|
{
|
{
|
struct_by_value_9_x ();
|
struct_by_value_9_x ();
|
exit (0);
|
exit (0);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.