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 |
/* PR rtl-optimization/17933.
|
/* PR rtl-optimization/17933.
|
Test-case from the ObjC test-suite, execute/class_self-2.m,
|
Test-case from the ObjC test-suite, execute/class_self-2.m,
|
translated to C from and reduced by Andrew Pinski. */
|
translated to C from and reduced by Andrew Pinski. */
|
|
|
struct d
|
struct d
|
{ int a; };
|
{ int a; };
|
void abort(void);
|
void abort(void);
|
typedef struct d (*f) (int i);
|
typedef struct d (*f) (int i);
|
f ff(void);
|
f ff(void);
|
void test1()
|
void test1()
|
{
|
{
|
f t = ff();
|
f t = ff();
|
t(0);
|
t(0);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.