OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.1/] [gdb/] [testsuite/] [gdb.base/] [async.c] - Rev 252

Go to most recent revision | Compare with Previous | Blame | View Log

 
 
#ifdef PROTOTYPES
int
foo (void)
#else
int
foo ()
#endif
{
 int x, y;
 
 x = 5;
 y = 3;
 
 return x + y;
}
 
#ifdef PROTOTYPES
int
main (void)
#else
int
main ()
#endif
{
 int y, z;
 
 y = 2;
 z = 9;
 y = foo ();
 z = y;
 y = y + 2;
 y = baz ();
 return 0;
}
 
 
#ifdef PROTOTYPES
int
baz (void)
#else
int
baz ()
#endif
{ 
  return 5;
}
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.