URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
#include <stdbool.h>
|
#include <stdbool.h>
|
|
|
int f (int a, int b, int c, _Bool d, _Bool e, _Bool f, char g)
|
int f (int a, int b, int c, _Bool d, _Bool e, _Bool f, char g)
|
{
|
{
|
if (g != 1 || d != true || e != true || f != true) abort ();
|
if (g != 1 || d != true || e != true || f != true) abort ();
|
return a + b + c;
|
return a + b + c;
|
}
|
}
|
|
|
int main (void)
|
int main (void)
|
{
|
{
|
if (f (1, 2, -3, true, true, true, '\001'))
|
if (f (1, 2, -3, true, true, true, '\001'))
|
abort ();
|
abort ();
|
exit (0);
|
exit (0);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.